When I do:
var myDate = new Date();
Does it use UTC timezone by default? Or could this vary based on client location?
When I do:
var myDate = new Date();
Does it use UTC timezone by default? Or could this vary based on client location?
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.