Next / Previous / Contents / Shipman's homepage

9.3. JulianDate.datetime(): Convert to a datetime instance

This method converts an instance J of class JulianDate into an instance of the datetime class from the standard Python library (version 2.3 or greater).

J.datetime()

You will get back an “naive datetime instance” tagged with no time zone information, but it will represent UTC.