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.
In reply to Re: Conversion of Time
by stevieb
in thread Conversion of Time
by PRS
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |