"DC" == David Coe [EMAIL PROTECTED] writes:
DC I suspect there is no 'standard' definition of week number.
You're wrong. According to the calendar FAW (thanks, Google:-):
5.7 What is the week number?
International standard IS-8601 (mentioned
-Oorspronkelijk bericht-
Van: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Namens Tim Cook
Verzonden: donderdag 3 augustus 2000 6:34
Aan: David Coe; Zope List
Onderwerp: Re: [Zope] Retrieving the week number with DateTime
David Coe wrote:
I suspect there is no 'standard' definition
I suspect there is no 'standard' definition of week number.
E.g. if the year begins on a Wednesday, is the following Monday part
of week 1 or week 2?
Once you decide, you can design a calculation starting with
"some_date_object.dayOfYear()" which will give you the day number in
the range 1
David Coe wrote:
I suspect there is no 'standard' definition of week number.
I asked this on a list with a bunch of accounting types and got
the same reply. It is 'generally' associated with payroll or tax
periods.
Once you have a 'definition' for Jan 1 of the current year and
the day of