note 41319 rejected from function.strftime by cece

From: Date: Tue, 06 Apr 2004 13:52:28 +0000
Subject: note 41319 rejected from function.strftime by cece
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-67707@lists.php.net to get a copy of this message
Note Submitter: mm@em1.nl ---- <?php $datum = mktime(0, 30, 14, 03, 31, 2004); $stamp = strtotime ("last Wednesday", $datum); $day = strftime("%A",$stamp); $begin = date('Y-m-d 14:01:00 ',$stamp); $eind = date('Y-m-d 14:01:00 ',$stamp1); echo "$begin $day"; ?> Why does this output a Tuesday instead of a Wednesday?

« previous php.notes (#67707) next »