hp-support-head-portlet

Actions
Loading...

Welcome to HP Customer Support

hp-contact-secondary-navigation-portlet

Actions
Loading...

hp-share-print-widget-portlet

Actions
Loading...
  • Information
    Important Print Security Update

    HP was recently made aware of a vulnerability in certain inkjet printers by a third-party researcher. HP has updates available for download to address the vulnerability. Details and more information are available in the Security Bulletin

hp-concentra-wrapper-portlet

Actions
Loading...

HP 12c Platinum Financial Calculator - Managing Dates

Calculating with dates
Since financial computations depend on periods of time, the ability to handle dates is important. Knowing the number of days between two dates or computing a new date given a reference date and a number of days between them are often part of financial problems. The HP 12c Platinum offers both functions: to compute days between dates and to compute a new date given a reference day a number of days between them. computes the number of days based on both financial and actual years. Dates and date representation are also important when calculating bonds ( and ).
Dates on the HP 12c Platinum
Dates can be entered and shown in one of two available formats: D.MY or M.DY, where D is the day number, M is the month number and Y is the year. To set one of these modes, use (to access the blue function on the front face of key) or (to access the blue function on the face of key). M.DY is the default mode, and there is no specific indication for it. If D.MY is set, the display shows:
Figure : Displaying the date format
The HP 12c Platinum accepts and computes dates in the range October 15th, 1582 through November 25th, 4046.
Date representation in the HP 12c Platinum
The only data that can be entered in the HP 12c Platinum are numbers with up to a ten-digit mantissa and a two-digit exponent of ten. Whether D.MY or M.DY is set, dates are entered as numbers coded this way:
  • D represents a valid day and is typed in as a number from 01 to 31.
  • M represents the month and is typed in as a number from 01 to 12.
  • Y represents the year and is typed in as a number from 1582 to 4046.
The actual number that represents a date is entered in the following format:
  • MM.DDYYYY if M.DY is set;
  • DD.MMYYYY if D.MY is set;
where DD is the day with two digits, MM is the month number with two digits and YYYY is the year with four digits. In either case, typing in leading zeroes for the integer part before the decimal is not necessary.
Although dates are coded accordingly, the date representation that is typed in is only a regular number. The date/number will be checked for validity and format only when a date-related function is performed. So, typing in 1.072004 or 7.012004 does not imply the need for setting or . Otherwise, performing a date-related function demands using a representation according to the current date format.
Given a reference date and a number of days, a new date is computed with . The number of dates can be any integer: positive for future dates, negative for past dates and zero for the current day.
Practice solving problems involving dates
Example 1
Show how to enter the date September 1st, 2004 in M.DY format.
Solution
The values for this date are: 7 (September), 01 (1st day) and 2004 (year). So the keystroke sequence should be:
Keystroke
Display
Figure : Entering the date in M.DY format
Answer
The above figure denotes the date entered in M.DY format.
Example 2
Show how to enter the date September 1st, 2004 in D.MY format.
Solution
The values for this date are the same ones shown in prior example, but their order is different. The keystroke sequence now should be (make sure to clear the display if the previous example was typed in):
Keystroke
Display
Figure : Entering the date in D.MY format
Answer
The above figure denotes the date entered in 'D.MY' format.
Example 3
A 180-day simple interest loan is taken in January 15th, 2002. What is the expiration date? Compute the expiration date using both M.DY and D.MY formats.
Solution
Make sure M.DY is set:
The keystroke sequence below computes the expiring date:
Keystroke
Display
Figure : Calculating the expiration date using M.DY format
Answer
The expiring date is July 14th, 2002.
The display representation for a computed date is special and shows grouped digits for month, day and year separated by commas or dots, depending on which one is the current radix mark. The rightmost digit represents the day of week, and is interpreted as:
Digits representing the day of the week
Week days
1
Monday
2
Tuesday
3
Wednesday
4
Thursday
5
Friday
6
Saturday
7
Sunday
So, the expiring date July 14th, 2002 is also a Sunday. Now, make sure 'D.MY' is set:
Keystroke
Display
Figure : Displaying the date format
The keystroke sequence below computes the expiring date in the current date format:
Keystroke
Display
Figure : Calculating the expiration date using the D.MY format
Answer
As expected, the expiring date is July 14th, 2002, and it is shown according to the current date format
Example 4
What day of the week is October 13th, 2003? Enter the date in M.DY format.
Solution
Make sure M.DY is set:
The keystrokes below make use of the fact that if a date is computed with 0 as the number of days, the original date is returned but analyzed for the day of the week.
Figure : Calculating the day of the week using M.DY format
Answer
October 13th, 2003 was a Monday.
Example 5
Consider a simple interest accruing from September 10th, 2004 to December 14th, 2004. What is the number of days between them? Use the current format.
Solution
From the previous example, the calculator remains in M.DY format:
Keystroke
Display
Figure : Displaying the number of days
Answer
The result is 95 days.

hp-feedback-input-portlet

Actions
Loading...

hp-online-communities-portlet

Actions
Loading...

Ask the community!


Support Forum

Support Forum

Join the conversation! Find Solutions, ask questions, and share advice with other HP product owners. Visit now


hp-feedback-banner-portlet

Actions
Loading...

hp-country-locator-portlet

Actions
Loading...
Country/Region: Flag Lithuania

hp-detect-load-my-device-portlet

Actions
Loading...