views:

683

answers:

2

i am beginner dont know how do display all country time into a single page using action script 3 in flex . do u know any example time code refer me . i will try that code .

A: 

In Java you can use Calendar.getInstance(TimeZone zone) method to create a Calendar object of a timezone. TimeZone.getAvailableIDs() will give you list of inbuild timezones supported by Java. You can find out the timezones you want and using the id can create the TimeZone object from TimeZone.getTimeZone(String ID)

Bhushan
thanks Bhushan - it's information very usefule to me . i will try that . if any example in flex (action script 3)
I have no idea of flex
Bhushan
MR.Bhushan Very thanks for response me
+1  A: 

In Actionscript/Flex, you can only get either the local time, which is from the user's operating system, or the UTC time. You'll have to find a way of converting UTC to the user's time - or use externalInterface to communicate with something like java.

quoo