RE: [PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP()
| From: | Jon Haworth | Date: | Thu, 14 Mar 2002 10:11:41 +0000 |
| Subject: | RE: [PHP] Hi what is diff. Between mktime() and UNIX_TIMESTAMP() | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-88463@lists.php.net to get a copy of this message | ||
> Unixtimestamp from Mysql :1016679600
> Unixtimestamp from PHP :953699601
> y this much difference?
A PHP timestamp is the number of seconds since 1st Jan 1970
A MySQL UNIX_TIMESTAMP is the date in YYYYMMDDHHMMSS format.
Cheers
Jon