note 13836 rejected and deleted from function.mktime.php by zak
| From: | zak@php.net | Date: | Thu, 05 Jul 2001 06:47:44 +0000 |
| Subject: | note 13836 rejected and deleted from function.mktime.php by zak | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-15004@lists.php.net to get a copy of this message | ||
Ok why doesn't this work?
$unix_timein = 993970839;
$pretty_timein = date("H,i,s,m,d,Y",$unix_timein);
$back_to_unix = mktime($pretty_timein);
here's are the results echoed
(simulated for your viewing pleasure)
unix_timein = 993970839 (obviously)
pretty_timin = 02,00,39,07,01,2001 (cool)
back_to_unix = 994,316,872 (nope nope nope)
WTF am I doing wrong?
TIA