To determine the number of days between two dates – HP 48g Graphing Calculator User Manual
Page 194
Attention! The text in this document has been recognized automatically. To view the original document, you can use the "Original mode".
i 16
To put the
current date on
the stack
(in
number
form):
B Press i^rnMEl Dfl i E .
To add or subtract a given number of days from
a
given date:
1. Enter a date in the number form corresponding to the current date
format,
2. Enter a real number representing the numbers of days you want to
add or subtract. Use negative numbers if you want to subtract
days.
3. Press f^fTIME) (NXT) DHTE + . The adjusted date is returned in
the number form of the current date format.
Example:
Find the date 239 days from today. (This example
assumes the current date is April 30, 1993.)
Step 1:
Put the current date in level 1.
r^fTIME) DRTE
1:
4.301993
Step 2:
Enter the number of days and calculate the future date. The
result is December 25, 1993.
239 fN^ Dii ! t +
l!
12.251993
iJiiiaiaBTOiiHiisHiiigHaiiiSHBinsHa
To determine
the
number of days between two dates:
1. Enter the first date number onto the stack.
2. Enter the second date number onto the stack.
3. Press r^fTIME) fNXT) DDRYS.
Example:
Find the number of days between April 20, 1982 and
August 2, 1986.
4.201982 f
enter
1 8.021986
r^iTIME) fNXTl DDfl¥S
1=
1565
16-2 Date, Time and Fraction Arithmetic