

 |
 |
 |
 |
 |
 |
 |
 |
 |
 TimeMath
 |
 |
 |
 |
 |
 |

Organization: | Johns Hopkins University |
 |
 |
 |
 |
 |
 |
 0208-369
 |
 |
 |
 |
 |
 |
 1996-10-17
 |
 |
 |
 |
 |
 |
 This notebook defines two functions to do time arithmetic. TimeAdd[tstart, dt] increments a start time by a given amount. TimeBetween[tstart, tstop] gives the difference (stop - tstart). The format of all time arguments is {year, month, day, hour, minute, second}, which is the same as that used by the built-in Date function. The time increment, dt, can be positive or negative. All arguments are integers.
 |
 |
 |
 |
 |
 |

 |
 |
 |
 |
 |
 |
 time, clock, calendar
 |
 |
 |
 |
 |
 |

| TimeMath.nb (12.9 KB) - Mathematica Notebook |  Files specific to Mathematica 2.2 version:
 | | TimeMath.ma (9.7 KB) - Mathematica Notebook 2.2 or older |
 |
 |
|
 |
 |
 |
 |
| | | |  | |
|