[Zope] Retrieving the week number with DateTime

Tim Cook twcook@iswt.com
Thu, 03 Aug 2000 04:34:01 +0000


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 the week that 'your' week starts on then you could use
David's suggestion(s).
Either you or your customer has to define those two things first.

-- Tim Cook --
FreePM Project Coordinator - http://www.freepm.org
OS Healthcare Alliance Supporter - http://www.oshca.org