wrong weeknr in strftime?
| From: | Eric Persson | Date: | Mon, 18 Feb 2002 13:20:33 +0000 |
| Subject: | wrong weeknr in strftime? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-80141@lists.php.net to get a copy of this message | ||
Hi !
I have experienced a error in the strftime function, it appears to be that the weeknumber returned is current_week-1.
<?
echo "week:".strftime("%W");
?>
This returns "week:07" when its really 08.
Is this a bug?
I'm running php4.0.6 under apache and linux and YES, i have the right time in the system. :)
Thanks for your time,
Eric