The Player uses the timezone of the user’s computer by default.  You’ll need to write your app to adjust appropriately by adjusting the date using getTimezoneOffset.  (http://www.macromedia.com/support/flash/action_scripts/actionscript_dictionary/actionscript_dictionary163.html).

 

Generally to get to GMT you can do date.setMinutes(date.getMinutes() – date.getTimezoneOffset()) or something like that (I did this once but this is not the code I used, you’ll need to play around to get it right).

 

Matt

 


From: [email protected] [mailto:[email protected]] On Behalf Of Ernest Wong
Sent: Monday, December 05, 2005 3:18 AM
To: [email protected]
Subject: [flexcoders] Is there any place for me to set the time zone?

 

Hi!

  I want to set a specific time zone to my flex application.
(Since different time zone may affect my result data)
I can't find the configuration of time zone from the flex-config.xml.
Is there any place I can set it?

  Please help me!

  Thanks a lot!

  Regards,
Ernest.






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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to