HP Forums
(12C) HP 12C: Julian Date - 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) HP 12C: Julian Date (/thread-3060.html)



(12C) HP 12C: Julian Date - Eddie W. Shore - 02-11-2015 02:21 PM

The Julian Date of any calendar date D can be found by:

dDYS(January 1, 2000; D) + 2451545

d represents the Delta Symbol (Δ) for ΔDYS

It is assumed it is 12:00 Universal Time.

This program should work in either D.MY and M.DY mode:

Step Key Key Code
01 1 1
02 . 48
03 0 0
04 1 1
05 2 2
06 x<>y 34
07 dDYS 43 26
08 2 2
09 4 4
10 5 5
11 1 1
12 5 5
13 4 4
14 5 5
15 + 40


Example:
February 11, 2015: Julian Date 2457065
October 9, 1995: Julian Date 2450000


RE: HP 12C: Julian Date - Dieter - 02-12-2015 12:46 PM

(02-11-2015 02:21 PM)Eddie W. Shore Wrote:  The Julian Date of any calendar date D

To be precise: it's the Julian day number.

Eddie, if you use the "code" tag (the "#" symbol on top of the edit window) your listing will appear correctly formatted. Since the forum's editor uses a proportional font you should enter the program in an externel text editor and copy it back when you're done. Yes, this really is a nuisance, but there is no other way unless the forum software uses a fixed font.

Code:
Step   Key   Key Code
 01     1        1
 02     .       48
 03     0        0
 04     1        1
 05     2        2
 06    x<>y     34
 07    ΔDYS     43 26
 08     2        2 
 09     4        4
 10     5        5
 11     1        1
 12     5        5
 13     4        4
 14     5        5
 15     +       40

Dieter