Hi @Tom ,thanks a lot for your question! Here is the further clarification: according to @Jeff_DOC 's description about the time variable, the values such as 1416 and 1950 may have two different meanings:
1) they are standard time values in numeric format (i.e., numbers that we see and use everyday), in this case, any of this kind of numbers can be converted to a standard time format such as 00:00 through apply the time. format to them; and just like what you already clearly described in your previous thread, @Tom , these numbers represent seconds (I did not pay attention to this knowledge before, because I just know that any number in a date/time column can be easily converted to standard date/time format and I did not worry about what they are exactly);
2) 1416 and 1950 means 14:16pm and 19:50pm, in this case, one can convert the number to a character format using cat(substr(put() )) function, and then convert the character time back to numeric time value and use it in calculating time difference.
Also, I think @Tom , your previous thread already well answered and clearly explained your question, and my solution is in accordance with yours (see the screen capture), thanks a lot for your questions, which makes me learnt more!
My answer:
... View more