I have two timestamps in formats :
Timestamp 1 (Variable - RunStartDate
): Thu May 3 14:12:54 CDT 2018
Timestamp 2 (Variable - RunEndDate
): Thu May 3 18:11:46 CDT 2018
I want the difference of number of hours between these two timestamps in UNIX shell. (I.e. RunEndDate
- RunStartDate
in hours)
Please help, I am new to UNIX and it is throwing me errors when I just try to subtract the two.