bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#20583: calendar-absolute-from-gregorian


From: Nicholas Strauss
Subject: bug#20583: calendar-absolute-from-gregorian
Date: Fri, 22 May 2015 08:36:43 -0700

There are other day number systems more common than the  emacs
"absolute" day number --
the "astro" or Julian day number and the proleptic Gregorian system
used by sqlite3
e.g. select julianday("-4713-11-24").
cal-julian.el:alendar-astro-to-absolute refers to  "astro".
Proleptic Gregorian day 0 = November 24, 4714 BC while "astro" day 0 =
 January 1, 4713 BC.
I'm attaching julian.lisp which has calendar-correlate-from-date and
calendar-correlate-from-julianday
may help with days before 1582. These are based on Peter
Duffett-Smiths calculations.

Attachment: julian.lisp
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]