I moved your post to a new topic. Please do not attach questions to resolved topics.
Use a simple subtraction, and assign a suitable format:
diff = time2 - time1; /* results in the difference in seconds */
format diff time8.; /* displays in human-readable form */
... View more