note 16454 added to function.time

From: Date: Wed, 31 Oct 2001 11:53:32 +0000
Subject: note 16454 added to function.time
Groups: php.notes 
Request: Send a blank email to php-notes+get-19701@lists.php.net to get a copy of this message
sekunden.php converts seconds, starting at 1.1.1970, to a date format that you can read. It is actually the german date format "DD.MM.YYYY". My PC does not calculate anything beyond "Tue 19.01.2038 04:14:07"!? <? print ' <form action="sekunden.php" method="post"> Seconds from 1.1.1970 00:00 GMT<br> <input type="text" name="eingabe"> <input type="submit"> </form> '; echo "$eingabe seconds is on "; echo date("D d.m.Y H:i:s",$eingabe); ?> -- http://www.php.net/manual/en/function.time.php http://master.php.net/manage/user-notes.php?action=edit+16454 http://master.php.net/manage/user-notes.php?action=delete+16454 http://master.php.net/manage/user-notes.php?action=reject+16454

« previous php.notes (#19701) next »