(12C) HP 12C: Julian Date
02-11-2015, 02:21 PM (This post was last modified: 06-15-2017 01:35 PM by Gene.)
Post: #1
 Eddie W. Shore Senior Member Posts: 600 Joined: Dec 2013
(12C) HP 12C: Julian Date
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
02-12-2015, 12:46 PM
Post: #2
 Dieter Senior Member Posts: 1,666 Joined: Dec 2013
RE: HP 12C: Julian Date
(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
 « Next Oldest | Next Newest »

User(s) browsing this thread: 1 Guest(s)