note 40505 added to function.time
| From: | jimmyatcellus-usadotcom at rn2 dot php dot net | Date: | Fri, 05 Mar 2004 18:35:45 +0000 |
| Subject: | note 40505 added to function.time | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-66317@lists.php.net to get a copy of this message | ||
The easiest way to get a MySQL TIMESTAMP may not be with time(), but actually with date(). Here is
a quick one-liner:
$timestamp = date(YmdGis);
Have fun :)
----
Manual Page -- http://www.php.net/manual/en/function.time.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+40505
Delete -- http://master.php.net/manage/user-notes.php?action=delete+40505&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+40505&report=yes
Search -- http://master.php.net/manage/user-notes.php