HP Forums
Date display on HP35s - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: General Forum (/forum-4.html)
+--- Thread: Date display on HP35s (/thread-8387.html)



Date display on HP35s - Dieter - 05-23-2017 12:53 PM

I just want to share a way to display calendar dates on the 35s (and probably other calculators with fraction mode). While the classic method uses the well-known dd.mmyyyy or mm.ddyyyy notation, i.e. a number with six decimals that is supposed to be displayed in FIX 6 mode, here is another way using the fraction display:

Code:
D001 LBL D
D002 ENTER
D003 /c     ; set denominator
D004 /
D005 +
D006 STO D
D007 SF 8   ; set appropriate flags
D008 SF 9   ; for fixed denominator
D009 VIEW D

23 [ENTER] 5 [ENTER] 2017 [XEQ] [D]  =>  D= 23 5/2017

The idea is to display the value of (day + month/year) in fraction mode with a fixed denominator that equals the year.
This works for dd mm/yyyy as well as for mm dd/yyyy. Note that the max. year / denominator is 4095, and year > month.

Dieter


RE: Date display on HP35s - Matt Agajanian - 05-23-2017 03:44 PM

Brilliant stroke of genius! Thanks


RE: Date display on HP35s - Vtile - 05-23-2017 04:47 PM

Uh, really nice idea. This reminds me to return to another topic, like I promised. Smile


RE: Date display on HP35s - PANAMATIK - 05-23-2017 05:56 PM

Just agree. A brilliant genius idea!

Bernhard


RE: Date display on HP35s - Joe Horn - 05-23-2017 11:17 PM

Dieter's great idea works on the HP 32SII, 33S, and 35s, all of which use flags 8 and 9 the same way to allow fixed denominators (without reducing them) up to 4095.