note 40505 deleted from function.time by irchtml
| From: | irchtml@php.net | Date: | Wed, 10 Mar 2004 12:49:12 +0000 |
| Subject: | note 40505 deleted from function.time by irchtml | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-66547@lists.php.net to get a copy of this message | ||
Note Submitter: jimmy at cellus-usa dot com
----
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 :)