[Zope-dev] RE: Week of the year

Jason Spisak 444@hiretechs.com
Thu, 06 Apr 2000 14:01:57 -0400


Zopsters,

In case anyone cares, <dtml-var expr="((ZopeTime().dayOfYear())/7) + 1">
gives you the week of the year and will allow for tests to see if
DateTime's occur in the same week.  I was just looking to see if it was
in a module.

All my best,

-- 
Jason Spisak
444@hiretechs.com