I am using CF in the backend.

Jay
x8453



"Douglas Knudsen" <[EMAIL PROTECTED]> 
Sent by: [EMAIL PROTECTED]
07/27/2007 08:35 AM
Please respond to
[email protected]


To
[email protected]
cc

Subject
Re: [AFFUG Discuss] Flex modifiying the date and time received from AMF3 
to local time






Its the Flash player.  Are you using CF on your backend?  I was wondering 
if this behavior was the same in CF as in Java land.  If you want all your 
times to be in a single timezone, you will have to massage all your dates 
on the way into your Flex app and on the way out, eg in your delegate...in 
the Flex code.  To do this put some sort of data manipulator in action 
that adds/subtracts the timezone offset.  This offset is a property of 
Date in AS.  Note, if your UI does not modify the dates, only displays 
them, might be easier to pass as a String instead to the Flex UI. 

DK

On 7/27/07, [EMAIL PROTECTED] < 
[EMAIL PROTECTED]> wrote:

It seems that Flex receiving a date through AMF3(Remote Objects) assumes 
it is UTC format and converts it to a local time.  For example, if the 
date 07/12/2007 00:00:00 stored in the database in Atlanta, when retrieved 
from say, Chicago Client, it shows up as 07/11/2007 23:00:00, whereas the 
same date in a Flex client in Atlanta shows up as 07/12/2007 00:00:00. 
Short of manually modifying to an UTC date, is there a setting in flex 
that dosen't do the conversion? 


Jay
x8453 
------------------------------------------------------------- 
To unsubscribe from this list, simply email the list with unsubscribe in 
the subject line 

For more info, see http://www.affug.com 
Archive @ http://www.mail-archive.com/discussion%40affug.com/ 
List hosted by FusionLink 
------------------------------------------------------------- 



-- 
Douglas Knudsen
http://www.cubicleman.com
this is my signature, like it? 
------------------------------------------------------------- 
To unsubscribe from this list, simply email the list with unsubscribe in 
the subject line 

For more info, see http://www.affug.com 
Archive @ http://www.mail-archive.com/discussion%40affug.com/ 
List hosted by FusionLink 
------------------------------------------------------------- 



-------------------------------------------------------------
To unsubscribe from this list, simply email the list with unsubscribe in the 
subject line

For more info, see http://www.affug.com
Archive @ http://www.mail-archive.com/discussion%40affug.com/
List hosted by http://www.fusionlink.com
-------------------------------------------------------------

Reply via email to