in reply to DateTime and hour 0

Just an observation. Dont know how this will help or hurt you situation. Anytime you have an unquoted numeric that begins with a zero, it is interpreted as an octal:
{ my $x = 10; my $y = 010; print "x = $x\n"; print "y = $y\n"; }
Outputs:
x =10
y =8

But since you're using 00, that should interpret as numeric zero anyway, so im not sure whats happening.

Thought it might help someone else figure out the whole deal.