If javascript “(new Date()).getTime()” is run from 2 different Timezones

Yes, it’s affected by system time. However, if the local time is correct (for whatever time zone the computer’s set to), it should be the same in any time zone.

The ECMAScript standard says (ยง15.9.1.1):

“Time is measured in ECMAScript in
milliseconds since 01 January, 1970
UTC.”

Leave a Comment