note 62097 added to function.time
| From: | emory dot smith at gmail dot com | Date: | Mon, 20 Feb 2006 00:17:36 +0000 |
| Subject: | note 62097 added to function.time | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-104042@lists.php.net to get a copy of this message | ||
heres another way to convert a mysql timestamp to a unix timestamp without using the function
UNIX_TIMESTAMP in mysql:
<?php
$unix_timestamp = strtotime($mysql_timestamp);
?>
----
Server IP: 216.194.113.175
Probable Submitter: 67.174.183.218
----
Manual Page -- http://www.php.net/manual/en/function.time.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+62097
Delete: added to the manual -- http://master.php.net/manage/user-notes.php?action=delete+62097&report=yes&reason=added+to+the+manual
Delete: bad code -- http://master.php.net/manage/user-notes.php?action=delete+62097&report=yes&reason=bad+code
Delete: spam -- http://master.php.net/manage/user-notes.php?action=delete+62097&report=yes&reason=spam
Delete: useless -- http://master.php.net/manage/user-notes.php?action=delete+62097&report=yes&reason=useless
Delete: non-english -- http://master.php.net/manage/user-notes.php?action=delete+62097&report=yes&reason=non-english
Delete: already in docs -- http://master.php.net/manage/user-notes.php?action=delete+62097&report=yes&reason=already+in+docs
Delete: other reasons -- http://master.php.net/manage/user-notes.php?action=delete+62097&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+62097&report=yes
Search -- http://master.php.net/manage/user-notes.php