I tried to search any information regarding this before posting here but unfortunately could not found.
Can someone please help on how to calculate difference between two timestamp.
Actually my requiremt is that My job should extract only those records from database which got processed (will be using database current timestamp) after last run of this job (here for last run I will be passing previous job run date as input which is last job run current timestamp).
IF INPUT-DATE > LAST-RUN-DATE
PROCESS THE RECORD
ELSE
IF INPUT-DATE = LAST-RUN-DATE
AND INPUT-TIME > LAST-RUN-TIME
PROCESS THE RECORD
END-IF
END-IF