[Zope] DateTime DST query

Chris Withers chrisw@nipltd.com
Mon, 07 Oct 2002 14:33:40 +0100


Matthew Anderson wrote:
> <dtml-var "_.DateTime('2002-11-01 00:00') - _.DateTime('2002-10-01 00:00')">
> 
> would return 31.0416666667 days which is perfectly true but not a particularly nice way of showing a user 

Why not just round the result?

cheers,

Chris