Hi,
We are developing an application and a doubt about how to store time zone came up. May you share your experience with us and help us to deal with it.
Our customer has a server located in São Paulo and its time zone is tree time hours behind Greenwich. They have office in Sao Paulo (headquarter) and Cuiaba (four hours behind Greenwich). The information stored in our software is about medical records. So, it keeps information about the date and time that the patient arrived at the hospital/clinical laboratory and beside it store logs to generate the turnaround time.
If I have to store the time, what time zone should I use?
Store everything using São Paulo time zone and math every time we render the time?
Store the time of the place where the patient is attended?
Hi,
Based on practical experience I suggest to write any timestamp just in UTC
and leave to conversion to local time to the client application.
Similar before writing dates convert it to UTC at client side.
The client always knows his actual TimeZoneOffset especially across
change from DTS to Std time and back. In addition your application
is everywhere the same, world wide.
Regards,
Robert
Am 23.04.2013 13:59, schrieb Andre Luis - Shift:
>
> Hi,
>
> We are developing an application and a doubt about how to store time
> zone came up. May you share your experience with us and help us to
> deal with it.
>
> Our customer has a server located in S�o Paulo and its time zone is
> tree time hours behind Greenwich. They have office in Sao Paulo
> (headquarter) and Cuiaba (four hours behind Greenwich). The
> information stored in our software is about medical records. So, it
> keeps information about the date and time that the patient arrived at
> the hospital/clinical laboratory and beside it store logs to generate
> the turnaround time.
>
> If I have to store the time, what time zone should I use?
>
> Store everything using S�o Paulo time zone and math every time we