On Sun, 23 Mar 2003, Rick Measham wrote: > >my $today = DateTime->now; > > $today->truncate(to => "day"); > > From memory, this would work for you .. I can't test it here: > $today = DateTime->now->truncate(to => "day");
Yep, that works. Maybe a FAQ? Also, I think a general FAQ on "I just want to use dates and ignore the times, how do I do it" would be good. -dave /*======================= House Absolute Consulting www.houseabsolute.com =======================*/
