>> I'm inclined not to clutter up an already busy manual page by spelling
>> this out any simpler than it is already described. The definition of
>> %G already says that alternate prior/subsequent years may be returned
>> *and* makes reference to the difinition of %V which defines precisely
>> how
>> 12/31/2001 falls on a monday, it's ISO week ends on Sunday 1/6/2002,
>> (six days fall in 2002, one falls in 2001) ergo %G for that date
>> returns "2002".
>>
>> This is expected behavior for %G. Try using %Y instead.
>
> Maybe we can add this nice example to the manual?
>
I'm inclined not to c
On 30 Dec 2002 [EMAIL PROTECTED] wrote:
> Please note the manual page:
> http://www.php.net/manual/en/function.strftime.php
>
>
> %G - The 4-digit year corresponding to the ISO week number (see %V).
> This has the same format and value as %Y, except that if the ISO we