Search code examples
javascriptdateclient

Does javascript date have dependency on the client device?


If the time difference between the two devices is 1 second, will the time obtained through new Date() from each devices be 1 second difference?


Solution

  • Yes date depends upon client's device in javascript.