(38G) Date to Julian Day Number & Life in Days - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (38G) Date to Julian Day Number & Life in Days (/thread-7295.html) |
(38G) Date to Julian Day Number & Life in Days - Gerald H - 11-23-2016 10:00 AM The programme LIFE displays a message, on successive days alternately in German & English, & the number of days since birth. The sub-programme D2JDN takes as input the date as Ans from the Home Screen in the form MM.DDYYYY - this is the style of date returned by the function DATE - & returns the corresponding Julian Date Number. D2JDN works for all dates, BC (entered as a negative number) & AD, prior to 1582 using Julian Calendar & avoiding the year 0. Code:
|