Where does JavaScript get a new Date() from?
Is it based on the client\'s local computers time settings or something else?
I can\'t find anywhere only where
Given you don't need an internet connection to use JavaScript, it gets the current date & time (and by proxy, the UTC offset/locale) from the client's local environment. You can test this by changing your local clock.
Just remember to change it back..:)