Help with Difference in Hours:Minutes:Seconds between Dates and Times


#21

This should work and keep it simple - I tested it across midnight and at 1 second longer than 24 hours to verify it works. All you need is two variables formatted as Date/Time, then cast them as integers and divide by 1000 to remove the millisecond resolution: