[Solved] how to get date of my localtime like 2020-03-11T02:59 with javascript [duplicate]
You can change the timezone with the offset at the end of the date string (e.g. -05:00). And then create the date string you want using get functions. You will need to pad the month, day, hour and minutes. However,…