As a simple example, say that you have 2 times:
Jan 1, 2019 11:00:00 PM
Jan 2, 2019 1:00:00 AM
This one is an obvious example where the time difference is 0 years, 0 months, 0 days, 2 hours, 0 minutes, 0 seconds. But that is basically what I am after: Code that calculates the time difference between any 2 sets of dates and time.
Anyone have code like that or reference to a formula that I can convert into QB64 code?