note 16454 deleted from function.time by jimw
| From: | jimw@php.net | Date: | Wed, 31 Oct 2001 18:13:41 +0000 |
| Subject: | note 16454 deleted from function.time by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-19707@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);
?>