note 72919 added to function.mktime
| From: | Stephen at osu1 dot php dot net | Date: | Sun, 04 Feb 2007 07:32:48 +0000 |
| Subject: | note 72919 added to function.mktime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-122807@lists.php.net to get a copy of this message | ||
Re: elantrixNOSPAM at gigastorm dot net
Probably better to just use the MySQL function UNIX_TIMESTAMP() on timestamp/datetime/date columns,
since one would presume it's optimized, versus the customized string manipulation you have
here.
Re: Duane, I did actually mention leap seconds at the bottom, but thanks for expanding on the topic.
----
Server IP: 64.71.164.2
Probable Submitter: 140.247.155.43
----
Manual Page -- http://www.php.net/manual/en/function.mktime.php
Edit -- https://master.php.net/note/edit/72919
Del: integrated -- https://master.php.net/note/delete/72919/integrated
Del: useless -- https://master.php.net/note/delete/72919/useless
Del: bad code -- https://master.php.net/note/delete/72919/bad+code
Del: spam -- https://master.php.net/note/delete/72919/spam
Del: non-english -- https://master.php.net/note/delete/72919/non-english
Del: in docs -- https://master.php.net/note/delete/72919/in+docs
Del: other reasons-- https://master.php.net/note/delete/72919
Reject -- https://master.php.net/note/reject/72919
Search -- https://master.php.net/manage/user-notes.php