nilesh
Sep 29th, 2004, 10:04 AM
(using Spring 1.1 MVC...)
We need to convert between timezones for date/times. The date/times are stored in GMT in the database. For the view we want to convert to the user's timezone based on the browser setting (and possibly an override setting as a user preference). For forms, we need to convert to and from GMT to the user's timezone, so that they can input the date/time in their timezone.
Is there anything pre-existing to handle this?
Our current idea is to write a property editor that does the conversion.
We need to convert between timezones for date/times. The date/times are stored in GMT in the database. For the view we want to convert to the user's timezone based on the browser setting (and possibly an override setting as a user preference). For forms, we need to convert to and from GMT to the user's timezone, so that they can input the date/time in their timezone.
Is there anything pre-existing to handle this?
Our current idea is to write a property editor that does the conversion.