40 Section 2: Percentage and Calendar Functions
File name: hp 12c pt_user's guide_English_HDPMF123E27 Page: 40 of 275
Printed Date: 2005/8/1 Dimension: 14.8 cm x 21 cm
Number of Days Between Dates
To calculate the number of days between two given dates:
1. Key in the earlier date and press \.
2. Key in the later date and press gÒ.
The answer shown in the display is the actual number of days between the two
dates, including leap days (the extra days occurring in leap years), if any. In
addition, the hp 12c platinum also calculates the number of days between the two
dates on the basis of a 30-day month. This answer is held inside the calculator; to
display it, press
~
. Pressing
~
again will return the original answer to the
display.
Example:
Simple interest calculations can be done using either the actual number
of days or the number of days counted on the basis of a 30-day month. What
would be the number of days counted each way, to be used in calculating the
simple interest accruing from June 3, 2004 to October 14, 2005
?
Assume that
you normally express dates in the month-day-year format.
Keystrokes Display
gÕ
11.09
Sets date format to month-day-year.
(Display shown assumes date
remains from preceding example.)
6.032004
\
6.03
Keys in the earlier date and
separates it from the later date.
10.142005
gÒ
498.00
Keys in the later date. Display shows
actual number of days.
~
491.00
Number of days counted on the
basis of a 30-day month.