Section 2: Percentage and Calendar Functions  39 
 
File name: HP 12cpt_user's guide_English_110608.DOC  Page: 39 of 285   
Printed Date: 2009/1/13    Dimension: 14.8 cm x 21 cm 
 
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  
gÔ
 
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. 
120
gD
 
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.