in reply to DateTime and hour 0

I'm afraid I am too late, the discussion seems to be finished... But if somebody looks at it again,
-- what was the question exactly?
1) why doesn't this long code snippet work, or
2) smth. wrong with passing 0 or 00 to this class?
I mean, can somebody narrow this down to smth. like this:
use DateTime; $datetime=Time->new( year => 2005, month => 5, day => 5, hour => 0, minute => 13, second => 00 );
,or am I missing the point (as ususal)?
PS: I'd love to comment, have a couple of ideas, but cannot play with / reproduce this, -- apparently I don't have this module.....

Replies are listed 'Best First'.
Re^2: DateTime and hour 0
by tcf03 (Deacon) on Apr 22, 2005 at 08:49 UTC
    I was having some issues, with some of the formatting, in one of my posts I posted the fix, basically it was to chang the algorithm as fglock had suggested.

    ted