Counting Elasped Time

How to track time when the time period begins in one day and extends into the next (past midnight). Fortunately, there's an easy way. But first, let's look at a simple expression that tracks time within the same 24-hour period (midnight to midnight). If you know that the time period will be inclusive of the same day, you can use an expression in the form
end - start
where end marks the ending of the time period and start marks the beginning of the time period.

Unfortunately, this expression doesn't work with elapsed time. In these cases, you'll need the expression
1 + end - start.

This tip is extracted from Tipworld. For more tips on many other things visit their site called TipWorld.
home button   Just click on the button for the Tiproom's Home Page.
Date of last revision: 17 August 2001.