note 87873 deleted from function.strtotime by danbrown
| From: | danbrown@php.net | Date: | Sun, 28 Dec 2008 17:19:52 +0000 |
| Subject: | note 87873 deleted from function.strtotime by danbrown | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-148617@lists.php.net to get a copy of this message | ||
Note Submitter: denny at klorofil dot org
----
response for espen dot holje at escio dot no
you don't have to create new function to find starting date of next week, just use :
<?php
$nextWeek = strtotime("next monday") ;
?>
or
<?php
$nextWeek = strtotime("next sunday") ;
?>
if your week start on sunday