Cereally Seriously, the minutes:
my $minutes = 185; my $hours = $minutes / 60; $minutes = $minutes % 60; printf "Minutes: %02d:%02d\n", $hours, $minutes;
For the date you may want a regex or POSIX::strftime or maybe just fields from localtime. Where is the datetime coming from?
In reply to Re: Stupid Time issues
by Nkuvu
in thread Stupid Time issues
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |