Looking for a simple (hopefully) way of subtracting one hour from date - time in a file.
Simple, you say?
perl -pe 's/ (\d\d)/sprintf(" %2.2i",$1-1)/e;'
In reply to Re: Date/Time Manipulation
by hippo
in thread Date/Time Manipulation
by RobertJ
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |