I have no experience with DateTime, but looking at its POD, I notice that now() is always accessed as:
DateTime->now();
and never the way you are trying to use it:
$dt->now();
Perhaps now() (whatever it does) was never meant to be called that way? There seem to be no bug reports for this.
In reply to Re: DateTime normalize
by toolic
in thread DateTime normalize
by gwhite
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |