note 18892 deleted from function.date by hholzgra
| From: | hholzgra@php.net | Date: | Sat, 13 Apr 2002 20:00:17 +0000 |
| Subject: | note 18892 deleted from function.date by hholzgra | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-29236@lists.php.net to get a copy of this message | ||
You can convert a "seconds from epoch"
variable back to a readable date like this:
Seconds From Epoch:
$somevar = date("U");
Back to a Date:
date("M-d-Y",mktime(0,0,$somevar,1,1,1970));