Perl: the Markov chain saw | |
PerlMonks |
Re: get remaining hoursby Kenosis (Priest) |
on May 06, 2013 at 06:17 UTC ( [id://1032179]=note: print w/replies, xml ) | Need Help?? |
Perhaps the following will be helpful:
Output:
str2time parses a date/time string, returning a unix time value in seconds. It's used above to calculate the difference (delta) between your start and end dates/times. The output is the difference in hours.
In Section
Seekers of Perl Wisdom
|
|