How to get the difference between two time stamps
Summary:
I want to find the difference between two time stamps
Content (required):
I want to find the difference between two time stamps
Time stamp 1 - 2023-05-02 05:15:20 (Day 1)
Time stamp 2 - 2023-05-02 12:59:20 (Day 1)
Value = Timestamp1 - Timestamp2
I want to have a final result - 0 day, 7 hours, 44 minutes, and 0 second
Time stamp 1 - 2023-05-02 05:15:20 (Day 1)
Time stamp 2 - 2023-05-02 12:59:20 (Day 2)
Value = Timestamp1 - Timestamp2
I want to have a final result - 1 day, 7 hours, 44 minutes, and 0 second
I checked there is no OOTB function available. Is there any other logic by which I can use.
Any help is helpful
Tagged:
0