Distributed system across time zones: Recording timestamps e
Posted: Fri Aug 07, 2009 11:15 am
by Eric Peachey >> Fri, 22 Oct 1999 2:44:18 GMT
Hello,
Just wondering what thoughts you people have on the handling of dates and times in systems that have users in different time zones. Say you want to record when something happened, do you record the time on the user's machine, the time on the server machine, or the time relative to GMT?
I have vague memories of systems I've worked on in the past that made automatic adjustments according to the user's time zone settings and have recorded UTC/GMT times in the database. Forte systems used to do this kind of thing - this got quite confusing at times - particulary when combined with some bugs in early releases. Some C libraries also used to make automatic adjustments (based on time zone, day light saving and GMT) as well if I remember correctly. Does JADE have these kind of features?
Eric in Dunedin where the harbour and peninsular are a real picture today!
Hello,
Just wondering what thoughts you people have on the handling of dates and times in systems that have users in different time zones. Say you want to record when something happened, do you record the time on the user's machine, the time on the server machine, or the time relative to GMT?
I have vague memories of systems I've worked on in the past that made automatic adjustments according to the user's time zone settings and have recorded UTC/GMT times in the database. Forte systems used to do this kind of thing - this got quite confusing at times - particulary when combined with some bugs in early releases. Some C libraries also used to make automatic adjustments (based on time zone, day light saving and GMT) as well if I remember correctly. Does JADE have these kind of features?
Eric in Dunedin where the harbour and peninsular are a real picture today!