@
@
@Richswitch2018-03-09 23:05:41
JavaScript
@Richswitch, 2018-03-09 23:05:41

How to convert new Date(...).toISOString() to Moscow or local time zone?

Hey!
Formed the date according to this template

new Date(year, month, date, hours, minutes, seconds)
, then I add .toISOString()and get the result 3 hours less.
How to set the Russian time zone?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question