note 44722 added to function.date
| From: | actionproatPhp at osu1 dot php dot net | Date: | Sat, 14 Aug 2004 06:11:19 +0000 |
| Subject: | note 44722 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-74617@lists.php.net to get a copy of this message | ||
Unix time starts at Greenwich Mean Time
on my server unix time starts at 8 hours or 480 minutes or 28800 seconds.
<?php
echo date ("m/d/Y", 28800);
?>
will display 01/01/1970
<?php
echo date ("m/d/Y", 28799);
?>
will display 12/31/1969
North America
NST Newfoundland Standard Time - 3:30 hours
NDT Newfoundland Daylight Time - 2:30 hours
AST Atlantic Standard Time - 4 hours
ADT Atlantic Daylight Time - 3 hours
EST Eastern Standard Time - 5 hours
EDT Eastern Daylight Time - 4 hours
CST Central Standard Time - 6 hours
CDT Central Daylight Time - 5 hours
MST Mountain Standard Time - 7 hours
MDT Mountain Daylight Time - 6 hours
PST Pacific Standard Time - 8 hours
PDT Pacific Daylight Time - 7 hours
AKST Alaska Standard Time - 9 hours
AKDT Alaska Daylight Time - 8 hours
HAST Hawaii-Aleutian Standard Time - 10 hours
HADT Hawaii-Aleutian Daylight Time - 9 hours
Australia
NFT Norfolk (Island) Time + 11:30 hours
EST Eastern Standard Time + 10 hours
EDT Eastern Daylight Time + 11 hours
CST Central Standard Time + 9:30 hours
CDT Central Daylight Time + 10:30 hours
WST Western Standard Time + 8 hours
CXT Christmas Island Time + 7 hours
Europe
GMT Greenwich Mean Time 0
BST British Summer Time + 1 hour
IST Irish Summer Time + 1 hour
WET Western European Time 0
WEST Western European Summer Time + 1 hour
CET Central European Time + 1 hour
CEST Central European Summer Time + 2 hours
EET Eastern European Time + 2 hours
EEST Eastern European Summer Time + 3 hours
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+44722
Delete -- http://master.php.net/manage/user-notes.php?action=delete+44722&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+44722&report=yes
Search -- http://master.php.net/manage/user-notes.php