powerhouse has asked for the wisdom of the Perl Monks concerning the following question:
How can I format $_time_now in minutes and seconds. For instance, 30:05 = 30 minutes and 5 seconds.my $_session_time = $session{time_then}; my $_current_time = time(); my $_time_now = ($_current_time-$_session_time)/60;
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Time Formatting....
by Zaxo (Archbishop) on Aug 04, 2003 at 06:01 UTC | |
|
Re: Time Formatting....
by mpd (Monk) on Aug 04, 2003 at 06:04 UTC | |
by Mr_Person (Hermit) on Aug 04, 2003 at 18:55 UTC | |
|
Re: Time Formatting....
by bobn (Chaplain) on Aug 04, 2003 at 05:51 UTC | |
by Zaxo (Archbishop) on Aug 04, 2003 at 06:10 UTC |