Re: [Zope] ZopeTime().Date() confusion

2000-10-02 Thread Dieter Maurer
Larry Albert writes: > > I am using Zope 2.2.1. Every time the method updates, I update the date > property called last_updated > checking last update at least 1 day ago "ZopeTime()" returns a "DateTime.DateTime" object. Such objects can be substracted giving the diff

[Zope] ZopeTime().Date() confusion

2000-10-01 Thread Larry Albert
This is driving me batty. I am trying to do something very simple. I want a method to perform an update no more than once a day. I know there are other approaches to this issue -- such as using bobobase_modification_time, not to mention Xron -- but I would like to use a date property for reasons