in reply to Conversion of Time

Although someone may have a more direct approach, I do know that DateTime can help you with this.

Instead of using localtime, use my $time = DateTime->now(); and then render the output however you want with the object.

Replies are listed 'Best First'.
Re^2: Conversion of Time
by frozenwithjoy (Priest) on Jun 20, 2012 at 14:31 UTC