flash - Actionscript 3 : get time to specific timezone (not the computer one) -
i have utc timestamp , display corresponding date , hour in specific timezone (e.g. france local time) not local timezone of computer might in us. seems complicated take account daylight saving time.
on flash/as3 documentation, found date class have no function specify timezone (only use local time or utc).
if understand problem, flash.globalization.datetimeformatter solution.
the datetimeformatter class provides locale-sensitive formatting date objects , access localized date field names. methods of class use functions , settings provided operating system.
Comments
Post a Comment