Perl: the Markov chain saw | |
PerlMonks |
comment on |
( [id://3333]=superdoc: print w/replies, xml ) | Need Help?? |
Hi annonymous1, Modify: 2017-03-11 15:06:21.724171690 +0530 Wed Nov 9 15:14:20 2017 how to find the 'time' difference between that two files?? You create two different DateTime::Format::Strptime objects, one for each format, and then apply all the same principles as described in the other posts in this thread. Note that the first value already has a time zone specified in the string, while for the second one you should specify a time_zone=>'...' value in the DateTime::Format::Strptime constructor, since it's best to have either none or all DateTime values involved in a calculation to have a time zone specified, not just a few. Hope this helps, In reply to Re^3: Finding the difference between two dates including milliseconds
by haukex
|
|