HP Forums
(12C Platinum) Day of the Week - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Software Libraries (/forum-10.html)
+--- Forum: General Software Library (/forum-13.html)
+--- Thread: (12C Platinum) Day of the Week (/thread-11988.html)



(12C Platinum) Day of the Week - Gamo - 12-20-2018 08:55 AM

This program keep adding one year at a time to display the
"day of the week" from you desire starting M,DY

For example:

What "day of the week" will be on every first day of the year start from 2018

1.012018 [R/S] display 1,01,2018 2 .........keep repeating next year...press any button except ON to stop.

Answer: 2 is Tuesday on 2019 and continue.....

1 Monday
2 Tuesday
.
.
7 Sunday

Program:
Code:

001 STO 0
002 RCL 0
003 ENTER
004  0
005 DATE
006 ENTER
007  0
008 DATE
009 EEX
010 CHS
011  6
012 STO+0
013 GTO 002

Remark:
On 12+ the looping of DATE pause, display is not smooth and hard to read.
On 12C emulator the DATE pause momentary and display can read comfortably.
I don't know about the Original 12C since I don't have one.

Gamo