Hi,

I have two strings that shows different times and I
want to find the difference in # of hours.

In PHP, there's strtotime(), but there isn't one
in Perl that I can find.

The string format is: mm/dd/yyyy hh:mm:ss

So if t1 and t2 are of the aforementioned format,
I just do a t2 - t1 and it should give me
the # of hours between the two datetimes.

Is there a function that can do this?

Thanks

Ed


-- 
To unsubscribe, e-mail: beginners-unsubscr...@perl.org
For additional commands, e-mail: beginners-h...@perl.org
http://learn.perl.org/


Reply via email to