What does this error mean? Can't locate Date/Parse.pm in @INC
I have code to calculate the difference between 2 given timestamps: Start_Time="2017-09-19 19:36:12.763" End_Time="2017-09-19 19:36:22.72" I want to get the difference between the timestamps considering the milliseconds. This is what I tried: #!/usr/bin/perl use strict; use warnings; use Date::Parse; use Date::Format; $startdat = "2007-11-17 12:51:22"; $stopdate = "2007-11-17 12:52:22"; my ($years, $months, $days, $hours, $mins, $secs) = split /\W+/, $startdat; my ($yeart, $montht, $dayt, $hourt, $mint, $sect) = split /\W+/, $stopdate; my $times = timelocal($secs,$mins,$hours,$days,$months,$ye
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.