When you subtract a Time from a Time you get a Duration.
You can add and subtract a Duration to/from a Time.
The system automatically converts a Duration to an Integer if so needed.
Duration := Time - Time;
At first, I wondered about Marc's unusual construct of subtracting 000000T from Time2, which appears to do nothing. But in fact, it "converts" Time2 to a Duration, which then can be subtracted from Time1. Also 0T does not work. It denotes "no time" whereas 000000T denotes midnight.
Comments
You can add and subtract a Duration to/from a Time.
The system automatically converts a Duration to an Integer if so needed.
At first, I wondered about Marc's unusual construct of subtracting 000000T from Time2, which appears to do nothing. But in fact, it "converts" Time2 to a Duration, which then can be subtracted from Time1. Also 0T does not work. It denotes "no time" whereas 000000T denotes midnight.
Yes, simetimes I am unusual...
RIS Plus, LLC