Example Resulting value of x
var d = new Date(Date.now());
var x = new Date(d.setMonth(1)).toISOString();
2025-02-24T16:27:01.269Z