in reply to Re: DateTime normalize
in thread DateTime normalize

Correct. now creates a new object and initialises it to the current time.

my $dt = DateTime->now(); my $dt = DateTime->now( time_zone => 'local' );

The OP appears to be trying to format the timestamp into a string. For this, he has a number of options.