note 84042 rejected from function.time by mgf
| From: | mgf@php.net | Date: | Wed, 25 Jun 2008 13:00:24 +0000 |
| Subject: | note 84042 rejected from function.time by mgf | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-140795@lists.php.net to get a copy of this message | ||
Note Submitter: Mike
----
<?php
$timeNow = time();
// (save timeNow into mysql_databse etc.)
// select timeNow from database
// with echo result will be 1234567890 to convert to normal Time
$timeConvert = date('d.m.Y - H:i:s')
echo $timeConvert;
// result = 01.01.1970 - 00:00:00 ?
>