note 15469 deleted from function.date by jimw
| From: | jimw@php.net | Date: | Fri, 02 Nov 2001 01:13:50 +0000 |
| Subject: | note 15469 deleted from function.date by jimw | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-20107@lists.php.net to get a copy of this message | ||
subject: Week of sql-date
I was suprised to see this working:
<?php
$date ="2001-09-12";
$week =strftime("%W",mktime(split("-",$date)));
?>