note 99853 added to datetime.settimestamp
| From: | UseWebFormatAouie dot net at osu1 dot php dot net | Date: | Fri, 10 Sep 2010 17:15:24 +0000 |
| Subject: | note 99853 added to datetime.settimestamp | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-172454@lists.php.net to get a copy of this message | ||
When the exact time is important then it is important to note the difference between this and the
UnixTimeStamp. The function will change the timestamp if necessary to take into account the daylight
savings time.
e.g. Working with the 'Europe/London' timezone and setting the DateTime object to a
timestamp of 1288486753 will result in the function automatically altering it to 1288490353.
This is because it is taking the fall time instead of the summer time (they will both be Sun,
31-Oct-2010 01:X:Y (I didn't check the hour and minute)).
Sincerely,
Aouie
----
Server IP: 69.147.83.197
Probable Submitter: 75.103.10.82
----
Manual Page -- http://www.php.net/manual/en/datetime.settimestamp.php
Edit -- https://master.php.net/note/edit/99853
Del: integrated -- https://master.php.net/note/delete/99853/integrated
Del: useless -- https://master.php.net/note/delete/99853/useless
Del: bad code -- https://master.php.net/note/delete/99853/bad+code
Del: spam -- https://master.php.net/note/delete/99853/spam
Del: non-english -- https://master.php.net/note/delete/99853/non-english
Del: in docs -- https://master.php.net/note/delete/99853/in+docs
Del: other reasons-- https://master.php.net/note/delete/99853
Reject -- https://master.php.net/note/reject/99853
Search -- https://master.php.net/manage/user-notes.php