My problem:
The web application that I am building is very dependant on that the client and server side clocks are in pretty good sync.
To calculate the offset between the client and server time clock is not a problem, it has very elaborate answers here.
My question is:
Is it possible to alter the default clock from JavaScript which Date
etc is based on? Or is my best shot to build an extension of the Date
class or similar?