Jan
2
Sharing Client Time-Zone information with Server
As it happens, there are many instances that one comes across while programming client side of a web-applications where one has to make a trade-off between the so called ‘best-practices’ and the current scope of change in the application. This is more evident when the changes are required to be made in large enterprise web-applications where the scope of making a change to the code is restricted by the maintenance cycles and release deadlines. Although not the most difficult one, but managing timezone information between the client (read browser) and server can be a tricky task. One way of doing it can be that the server sends across UTC time values to the client GUI and the client takes the responsibility to render that date in the client’s native timezone.