in reply to time diff in minutes
Epoch time is an signed integer value in number of seconds that usually starts at Jan 1, 1970, midnight for historical reasons.
Look at Perl built in functions: gmtime, localtime, time. Then look at the module: Time::Local. That module give the inverse functions.
For benchmarking, forget about the year, month, date. Normally just the time expressed in hours , min and seconds is all that is needed. In your case just minutes which is of course is seconds / 60.
updated : modules and functions to look for.
|
|---|