Post Reply 
converting between calendar dates and Julian days
12-14-2022, 05:23 PM
Post: #1
converting between calendar dates and Julian days
This HP PPL program can be used to convert between calendar dates and Julian days. With this software a UTC calendar date and time can be converted to the corresponding Julian days on the UTC (universal coordinated time; subroutine julian) , TDB (barycentric dynamical time; subroutine utc2tdb) and TDT (terrestrial dynamical time; subroutine utc2tdt) time systems. A TDB Julian day can be converted to a UTC calendar date and time using the tdb2utc subroutine.

The software and brief documentation for this program can be downloaded from

https://www.dropbox.com/s/khanxo2yu9elul...s.zip?dl=0
Find all posts by this user
Quote this message in a reply
02-18-2023, 10:10 AM
Post: #2
RE: converting between calendar dates and Julian days
Updated February 18, 2023

Bug fix. Variable jdsaved needs to be global.
Find all posts by this user
Quote this message in a reply
03-30-2023, 05:26 PM
Post: #3
RE: converting between calendar dates and Julian days
julian to date function

DATEADD(1582.1015,J-2299161)
Parameters: J (julian date number)

date to julian function

DDAYS(1582.1015,D)+2299161
Parameters: D (Date)

Date format: YYYY.MMDD
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 




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