On 12/22/05, Matt Chotin <[EMAIL PROTECTED]> wrote:
> Are there other developers out here who've been building apps that need
> to work in multiple timezones (or store their dates in GMT but work in
> another)?  I know I've answered some issues before in the past, if
> anyone wants to speak up ;-)

We have a similar but slightly different use-case (and unresolved
problem, for that matter): Our clients will be all over the world and
will be sending dates back to our database via RemoteObject calls.
When the date object is serialized, Flex automatically takes care of
updating the time zone information. However, this is actually *not*
what we want to happen because we are sending back dates with 00:00:00
timestamps (i.e. no time information). However, when this information
crosses timezones during serialization, 00:00:00 becomes a time
(midnight), which is then offset according to the timezone difference,
and the date possibly becomes a day off. E.g. a date of 25-Dec-2005
00:00:00 GMT on the client becomes 24-Dec-2005 17:00:00 EST in the
database. And those of us who celebrate Christmas know that 24-Dec !=
25-Dec

If there was a way that we could configure our clients to work in the
same timezone as our server, then we'd be all set. Alternatively, if
we could configure serialization to ignore timezone information then
our dates wouldn't be corrupted. Maybe there is already an easy
solution. I haven't had a chance to dig into the problem too much. But
any suggestions are appreciated.

Jim


------------------------ Yahoo! Groups Sponsor --------------------~--> 
Fair play? Video games influencing politics. Click and talk back!
http://us.click.yahoo.com/2jUsvC/tzNLAA/TtwFAA/nhFolB/TM
--------------------------------------------------------------------~-> 

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to