Section 2: Percentage and Calendar Functions

39

Example: If you purchased a 120-day option on a piece of land on 14 May 2004, what would be the expiration date? Assume that you normally express dates in the day-month-year format.

Keystrokes

Display

 

7.04

Sets date format to

 

 

day-month-year. (Display shown

 

 

assumes date remains from

 

 

preceding example. The full date

 

 

is not now displayed because the

 

 

display format is set to show only

 

 

two decimal places, as described

 

 

in Section 5.)

14.052004\

14.05

Keys in the date and separates it

 

 

from the number of days to be

 

 

entered.

120gD

11,09,2004 6

The expiration date is 11

 

 

September 2004, a Saturday.

When gD is executed as an instruction in a running program, the calculator pauses for about 1 second to display the result, then resumes program execution.

File name: hp 12c pt_user's guide_English_HDPMF123E27

Page: 39 of 275

Printed Date: 2005/8/1

Dimension: 14.8 cm x 21 cm