I have two log entries as follows:
Mar 3 19:03:00 p0690b01 root: [ID 702911 daemon.notice] Start time: Wed Mar 3 19:00:01 2004
Mar 3 19:03:00 p0690b01 root: [ID 702911 daemon.notice] End time: Wed Mar 3 19:02:59 2004
(each entry is one line, but is displayed as two)
Anyway, I'd like to subtract the end time from the start time. Also, it is possible that the start time will be on one day, and the end time will be the next day.
Any help would be appreciated!
Thanks!
630111
Mar 3 19:03:00 p0690b01 root: [ID 702911 daemon.notice] Start time: Wed Mar 3 19:00:01 2004
Mar 3 19:03:00 p0690b01 root: [ID 702911 daemon.notice] End time: Wed Mar 3 19:02:59 2004
(each entry is one line, but is displayed as two)
Anyway, I'd like to subtract the end time from the start time. Also, it is possible that the start time will be on one day, and the end time will be the next day.
Any help would be appreciated!
Thanks!
630111