[Zope] date comparison
   
    Michel Pelletier
     
    michel@digicool.com
       
    Sun, 12 Mar 2000 19:42:34 -0800
    
    
  
Tino Wildenhain wrote:
> 
> >
> Yeah ;) But whats with comparing wether we are between hour xx and hour
> yy
> every day? Or even between 0:00 and 1:15 every day...
DateTime works at one one-thousandth of a second resolution.  Hours and
minutes are no problem.
> This comes up with very strange hassle with DateTime() and strings and
> int()
> and so on...
No hassle that I can see, no more so than any other kind of object that
would do this.
> Or is there a better way?
There's mxDateTime, which I believe works similarly to DateTime.  I
don't think one is any 'better' than the other.
-Michel