[SOLVED] timezones

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
$var
Forum Contributor
Posts: 317
Joined: Thu Aug 18, 2005 8:30 pm
Location: Toronto

[SOLVED] timezones

Post by $var »

Alo,

I am making a log file, and the sample that I found has a time zone of +0100, which appears to be about 6 hours ahead of me... denmark i think, anyways...

I have seen different ways of doing the timezone, including +GMT+1...

I am in the EST zone. Does anyone know what the make up of the timezone is, and how I can better suit my geography?
Last edited by $var on Wed Oct 05, 2005 9:42 am, edited 1 time in total.
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

+0100 is GMT+1

it breaks down into the first two characters are hours, and the second two are minutes.
User avatar
$var
Forum Contributor
Posts: 317
Joined: Thu Aug 18, 2005 8:30 pm
Location: Toronto

Post by $var »

so i would write it like: -0600
User avatar
feyd
Neighborhood Spidermoddy
Posts: 31559
Joined: Mon Mar 29, 2004 3:24 pm
Location: Bothell, Washington, USA

Post by feyd »

EST is GMT-5 (-0500),
EDT is GMT-4 (-0400)

;)
User avatar
$var
Forum Contributor
Posts: 317
Joined: Thu Aug 18, 2005 8:30 pm
Location: Toronto

Post by $var »

oh yah, i guess that 1 minus 6 is -5 eh?
i can count!

(thank you)
Post Reply