Skip to main content

Simple library for converting between Julian calendar dates and datetime objects

Project description

Build Status


julian is a simple Python library for converting between Julian dates and Python datetime objects.


import julian
import datetime

mjd = 54372.78
dt = julian.from_jd(mjd, fmt='mjd')
2007-09-29 18:43:11.999982
jd = julian.to_jd(dt + datetime.timedelta(hours=12), fmt='jd')


julian is tested on python versions >= 3.2

pip install julian

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution (2.8 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page