Next / Previous / Contents / Shipman's homepage

10.5. MJD.__sub__(): Find the difference between two modified Julian dates

The ordinary Python subtract operator “-” is supported on two MJD instances, and returns the difference as a float expressed in days.