JavaScript getTime () returns "the number of milliseconds since January 1, 1970, 00:00:00 UTC".
Can I rely on the fact that it looks like different cars? I don't need it to be accurate to the millisecond, in just a few seconds.
Or do I need to use the external time service API, as in this question ?
Where does JavaScript get the current time from - does it depend on the machine clock?
source
share