L
Leto 58
Hi,
The registry value for HKEY_CURRENT_USER\Control
Panel\International\iFirstWeekOfYear is '0' on my french XP system, what
means that week 1 always includes 1st of january.
However, France (as most of european countries) follows ISO rule, that says
that week 1 contains at least 4 days is the first week of that year (which is
iFirstWeekOfYear = '2')
It appears that this value can therefore not be trusted to implement a
"GetWeekNumber()" function that works for all countries.
Is this bug or is there something wrong in my regional settings ?
Thank you,
Regard,
Leto
The registry value for HKEY_CURRENT_USER\Control
Panel\International\iFirstWeekOfYear is '0' on my french XP system, what
means that week 1 always includes 1st of january.
However, France (as most of european countries) follows ISO rule, that says
that week 1 contains at least 4 days is the first week of that year (which is
iFirstWeekOfYear = '2')
It appears that this value can therefore not be trusted to implement a
"GetWeekNumber()" function that works for all countries.
Is this bug or is there something wrong in my regional settings ?
Thank you,
Regard,
Leto