note 46568 deleted from function.date by sean
| From: | sean@php.net | Date: | Fri, 15 Oct 2004 18:35:40 +0000 |
| Subject: | note 46568 deleted from function.date by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78597@lists.php.net to get a copy of this message | ||
Note Submitter:
----
at work we use po's generated by the day of the year. 0-365
and this is a little helper script put on our intanet page.
<?
$today = date("z");
$leap = date("L");
$day = ($today+$leap);
$left = ((365+$leap)-$day);
echo "$day-$left";
?>
----
Reason: useless example