mars_time.constants.mars_year_starting_datetimes#

mars_time.constants.mars_year_starting_datetimes() dict[datetime.datetime][source]#

Get the catalog of dates and times denoting the start of each Mars year between Mars years -99 and 100. This is computed from the table from Piqueux et al (2015).

Returns:

The dates and times of the start of each Mars year.

Return type:

dict[datetime.datetime]

Examples

Get the date and time of the start of Mars year 33.

>>> import mars_time
>>> mars_time.mars_year_starting_datetimes()[33]
datetime.datetime(2015, 6, 18, 12, 17, 16, 800000, tzinfo=datetime.timezone.utc)