New answers tagged


You can use new Date(Date.UTC(year, month, day, hour, minute, sec)) to format a Date as you want it to be and delay it manually. (Ex. GMT +02, EST +.., ecc..) Or you can use new Date().toLocaleString("en-US", {timeZone: "substitute with the timeZone you need"}) to use the TimeZone that you want. NOTICE! This doesn't work on every browser and i don't know if ...

Top 50 recent answers are included