I have a web page with three dropdowns for day, month and year. If I use the JavaScript Date constructor that takes numbers, then I get a Date obje
Date
GMT -03:00 Example
new Date(new Date()-3600*1000*3).toISOString(); // 2020-02-27T15:03:26.261Z
Or even
now = new Date().getTime()-3600*1000*3; // 1582818380528 data = new Date(now).toISOString(); // 2020-02-27T15:03:26.261Z