[Zope] Adding days in Zope using ZopeTime

Eron Lloyd woodsage@op.net
Wed, 26 Apr 2000 16:38:36 -0400


Is there a handy way (besides fancy ZopeTime manipulation) to list the
dates of the current week (6 days) in DTML?
It would look like this

o Mon. [4/24]
o Tue. [4/25]
o Wed. [4/26]
o ...etc...

would I use variables to represent the current date? If so then how
would I make Zope add 1 or subtract 1 based on the current date?
So if today is the 26th, tomorrow is the 27, but yesterday was the 25,
how could I configure it to recognize that, while keeping it variable
based? It's for a list that will display a weekly event calendar, maybe
even with the current date in bold.

Any help would be greatly appreciated,

Eron