McMahon has asked for the wisdom of the Perl Monks concerning the following question:
Hello monks...
I've been reading Date::Calc and Date::Manip and I've become more confused than when I started. I want to convert a localtime date like so:
Wed Dec 29 08:17:04 (localtime value)
to a different format like so:
04-12-29_08:17:04
I would appreciate any suggestions as to the most efficient and readable way to do this.
I've been reading Date::Calc and Date::Manip and I've become more confused than when I started. I want to convert a localtime date like so:
Wed Dec 29 08:17:04 (localtime value)
to a different format like so:
04-12-29_08:17:04
I would appreciate any suggestions as to the most efficient and readable way to do this.
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Optimal Date conversion? (Too much information)
by steves (Curate) on Dec 29, 2004 at 16:22 UTC | |
Re: Optimal Date conversion? (Too much information)
by borisz (Canon) on Dec 29, 2004 at 16:27 UTC | |
Re: Optimal Date conversion? (Too much information)
by trammell (Priest) on Dec 29, 2004 at 16:28 UTC | |
Re: Optimal Date conversion? (Too much information)
by friedo (Prior) on Dec 29, 2004 at 16:28 UTC | |
Re: Optimal Date conversion? (Too much information)
by dragonchild (Archbishop) on Dec 29, 2004 at 16:30 UTC | |
Re: Optimal Date conversion? (Too much information)
by dws (Chancellor) on Dec 29, 2004 at 17:24 UTC | |
Re: Optimal Date conversion? (Too much information)
by TedPride (Priest) on Dec 29, 2004 at 22:08 UTC |
Back to
Seekers of Perl Wisdom