I am trying to get the date to convert to ISO time of half of a year ago, additionally, how can I change it to ISO time while losing the .milisecondZ at the end?
var d = new Date();
var n = d.toISOString();
var n = (n.addDays(-180))
I am trying to get the date to convert to ISO time of half of a year ago, additionally, how can I change it to ISO time while losing the .milisecondZ at the end?
var d = new Date();
var n = d.toISOString();
var n = (n.addDays(-180))