You could use a module that supports fractional time.
use Date::Tie; tie my %d, 'Date::Tie'; print " $d{hour}:$d{minute}:$d{second} \n"; $d{frac_hour} += 1.1; print " $d{hour}:$d{minute}:$d{second} \n"; 02:22:04 03:28:04
In reply to Re: Fractional times in Date::Calc
by fglock
in thread Fractional times in Date::Calc
by thor
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |