note 52163 added to function.date
| From: | php-general at lists dot php dot net | Date: | Fri, 22 Apr 2005 17:45:08 +0000 |
| Subject: | note 52163 added to function.date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-88412@lists.php.net to get a copy of this message | ||
Regarding webmaster at tutorengine dot com's post below, that is not a Unix timestamp. A Unix
timestamp has no internal notion of year, month, day, etc. It's simply an integer representing
the number of seconds since some point in history (on Unix it's midnight on January 1, 1970).
Anyway, if you need a Unix timestamp, just use time().
----
Manual Page -- http://www.php.net/manual/en/function.date.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+52163
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+52163&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+52163&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+52163&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+52163&report=yes&reason=useless
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+52163&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+52163&report=yes
Search -- http://master.php.net/manage/user-notes.php