in reply to Find minutes difference between two dates
ikegami: is it possible to use your method to parse date string from a csv file. coz i have lots of dates need to be calculated. can i use something like:
while ($line=<TEMP>) { my $start = $format->parse_datetime( $line[3] ); my $stop = $format->parse_datetime( $line[4] ); }
the anonymous: i have tried your code, however get the following error:
Month '12' out of range 0..11 at test.perl line 33any suggestions for correction ?
many thanks guys ! Simon
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Find minutes difference between two dates
by ikegami (Patriarch) on Oct 06, 2009 at 20:49 UTC | |
|
Re^2: Find minutes difference between two dates
by Anonymous Monk on Oct 07, 2009 at 10:11 UTC |