|   | php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login | 
| 
 PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits              [2005-08-04 09:05 UTC] sniper@php.net
 | |||||||||||||||||||||||||||
|  Copyright © 2001-2025 The PHP Group All rights reserved. | Last updated: Fri Oct 31 04:00:01 2025 UTC | 
Description: ------------ strftime( "%A %e %B %G",$FY_FirstDayOfWeek) prints monday 26 december 2005 which is correct, however strftime( "%A %e %B %G",strtotime("sunday", $FY_FirstDayOfWeek)) prints zondag 1 januari 2005 which should be 2006 no ?? Reproduce code: --------------- strftime( "%A %e %B %G",$FY_FirstDayOfWeek) strftime( "%A %e %B %G",strtotime("sunday",$FY_FirstDayOfWeek)) and set $FY_FirstDayOfWeek to monday 26 december 2005 Expected result: ---------------- that the year 2006 is returned