Skip to content

Instantly share code, notes, and snippets.

View jmurty's full-sized avatar

James Murty jmurty

View GitHub Profile
@jmurty
jmurty / jdutil.py
Created April 16, 2018 23:18 — forked from jiffyclub/jdutil.py
Functions for converting dates to/from JD and MJD
"""
Functions for converting dates to/from JD and MJD. Assumes dates are historical
dates, including the transition from the Julian calendar to the Gregorian
calendar in 1582. No support for proleptic Gregorian/Julian calendars.
:Author: Matt Davis
:Website: http://github.com/jiffyclub
"""