Click to See Complete Forum and Search --> : Finding the Desktop Zone time


aksh
March 21st, 2003, 07:25 AM
The gmtime() routine fails to get the zone time for AKST and AKDT zones. Some one help me.

fellowDeveloper
March 21st, 2003, 04:49 PM
Are you just trying to get the local time on your machine or the time of another location?

To get the local time on your machine, use localtime(). gmtime() returns UTC time.