Reputation: 83697
When I do:
var myDate = new Date();
Does it use UTC timezone by default? Or could this vary based on client location?
Upvotes: 2
Views: 687
Reputation: 580
AFAIK It takes the date and time from the machine it's running on, and it will use whatever timezone it is given from the OS, so I believe it would change based on client location, providing they have their machine set up correctly.
Upvotes: 2