Please read http://devnetwork2.net/viewtopic.php?t=112 and answer the last post, in this thread, if at all possible.
I need to know how I should store times, if I should change the time to server time when the user puts in a timezone-specific time. Any other help would be great.
User-defined timezone effecting all times recorded
Moderator: General Moderators
I think a server should always run in gmtime and all dates should be stored in gmtime too.
Depending on the users locale (or by asking him) you can lookup the offset and calculate the gmtime.
I've experienced that it can easily become a mess if store usertimes if those users are in different timezones.
Depending on the users locale (or by asking him) you can lookup the offset and calculate the gmtime.
I've experienced that it can easily become a mess if store usertimes if those users are in different timezones.
- Buddha443556
- Forum Regular
- Posts: 873
- Joined: Fri Mar 19, 2004 1:51 pm
