time zone script

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
User avatar
nhan
Forum Commoner
Posts: 95
Joined: Sun Feb 27, 2005 8:26 pm
Contact:

time zone script

Post by nhan »

hi all,

is there any php script that will give different time zones? i cant seem to find one... timezones for AUS, US, CANADA, and UK.. thanks!

--nhan
pilau
Forum Regular
Posts: 594
Joined: Sat Jul 09, 2005 10:22 am
Location: Israel

Post by pilau »

What do you mean by "give different time zones"?
User avatar
nhan
Forum Commoner
Posts: 95
Joined: Sun Feb 27, 2005 8:26 pm
Contact:

Post by nhan »

i mean php script that would generate the timezone of different countries.... the one i mentioned above, im in asia so the time zome is GMT +800, i would like to get the time for UK, US, Canada and Australia... would this be possible? thanks!
User avatar
n00b Saibot
DevNet Resident
Posts: 1452
Joined: Fri Dec 24, 2004 2:59 am
Location: Lucknow, UP, India
Contact:

Post by n00b Saibot »

pilau
Forum Regular
Posts: 594
Joined: Sat Jul 09, 2005 10:22 am
Location: Israel

Post by pilau »

The time zone for the UK is GMT.
For the United States, It's varying according to which state you're in.
The same is for Canada, and Australia, since they're all very wide countries.

EDIT:
nhan wrote:the time zome is GMT +800
Dude! 8O

Don't you mean GMT+8? :)
User avatar
Skara
Forum Regular
Posts: 703
Joined: Sat Mar 12, 2005 7:13 pm
Location: US

Post by Skara »

*flies around the world a few hundred times* :P

Just google different timezones. Enter them into an array and choose one based on user entry. :)
gusswib
Forum Newbie
Posts: 3
Joined: Mon Feb 06, 2006 6:01 am

how to convert time in EST to GMT ?

Post by gusswib »

i new in php programming
i have some problem to converts time in EST to GMT
what function must i use in php
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

Post Reply