Jan 2022 18:30:00 GMT'
how can i get jan 1, 2022 and 00:00 ?
Remove toUTCString()
if i understand correctly (new Date(2022, 0)).toUTCString() is jan 2022, 0:00 but in my timezone, i want it to be in utc irrespective on system's timezone (becuase i will be running it in server)
Обсуждают сегодня