note 14649 added to function.strftime.php

From: Date: Wed, 08 Aug 2001 00:06:05 +0000
Subject: note 14649 added to function.strftime.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-16455@lists.php.net to get a copy of this message
Running Apache/1.3.3, it appears that the decimal weekday number is not 1-7, but 0-6. I ran the following code, with the following result: echo("%u - (".strftime("%u").") weekday as a decimal number [1,7], with 1 representing Monday\n"); %u - (3) weekday as a decimal number [1,7], with 1 representing Monday (Today is tuesday, it should have returned a '2') http://www.php.net/manual/en/function.strftime.php

« previous php.notes (#16455) next »