1

Need Help on date subtraction

view story
linux-howto

http://www.unix.com – I have dates as follows in a file Code: 20121029135649 20121029135721 20121030091540 20121030093420 20121030094340 20121030095427 20121030095856 20121030100104 20121030100251 All these dates are in sorted order. I need to find out the difference between the dates as follows 2nd row date - 1st row date 3rd row date - 2nd row date 4th row date - 3rd row date For eg: Code: 20121029135649  20121029135721    difference in minutes 20121029135721  20121030091540    difference in minutes 20121030091540  20121030093420    difference in (HowTos)