more useful options | |
PerlMonks |
RE: Convert seconds into a formatted ddd:hh:mm:ss stringby ncw (Friar) |
on Aug 31, 2000 at 14:20 UTC ( [id://30489]=note: print w/replies, xml ) | Need Help?? |
You could do this with an amusing (ab)use of gmtime thus :-
Or perhaps slightly more sanely as If you want to strip the string then run this on it This regexp idea came from merlyn via Effective Perl
In Section
Cool Uses for Perl
|
|