I don't think it's so much a bug as it is just some odd behavior. If you
use 'this monday' the results are correct.
$start = strtotime('this monday');
Keith
At 02:44 PM 2/28/2004, Rob Petty wrote:
I am getting incorrect results from strtotime:
[dali]$ uname -a
Linux dali 2.4.24-grsec+w+fhs5+gr1
I am getting incorrect results from strtotime:
[dali]$ uname -a
Linux dali 2.4.24-grsec+w+fhs5+gr1913+nfs+++p3+c3+bu+gr0b-v6.182 #1 SMP Mon Jan 5
12:43:44 PST 2004 i686 unknown
[dali]$ date
Sat Feb 28 14:33:39 PST 2004
[dali]$ cat t1.php
'."\n");
echo ('"Next" Monday: '.date('l, M d Y',$start).''
2 matches
Mail list logo