Template:Age in sols/doc

From Nordic Larp Wiki
< Template:Age in sols
Revision as of 03:13, 2 January 2019 by Johannes Axner (talk | contribs) (1 revision imported)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search


This template returns the number of sols, or Mars solar days, between two Earth dates. If the second set of parameters is not included it will automatically calculate the days between a given date and today. It is based on the product of the count of Earth days past and the ratio of the length of Earth's solar day length (86400 seconds) with a Mars solar day (88775.24409 seconds), rounded to the nearest sol. That ratio comes from technical notes on time keeping on Mars from NASA's Goddard Spaceflight Center.[1]

To use, type:

{{age in sols|month1= |day1= |year1= |month2= |day2= | year2=}}

Or with unnamed parameters:

{{age in sols|year1|month1|day1|year2|month2|day2}} displays sols between two Earth dates


{{age in sols|year1|month1|day1}} displays sols since a given Earth date


  • {{age in sols|2004|01|04|2010|03|22}} gives 2208 sols that Spirit rover was operational on Mars
  • {{age in sols|2012|8|6}} gives 3485 sols since the Mars Science Laboratory landed on Mars

This template was created for use on Mars mission pages, NASA ones in particular, which identify mission milestones based on the mission sol which begins with sol 0 on the landing date for rover and landers and the orbital insertion date for orbiters. Examples include:

This template is useful for converting any span of Earth days into the appropriate number of sols with precision of ~ +/- 1 sol due because it rounds to the nearest sol.

See also


  1. Allison, Michael; Robert Schmunk. "Technical Notes on Mars Solar Time as Adopted by the Mars24 Sunclock". Goddard Spaceflight Center. Retrieved 17 November 2012.<templatestyles src="Module:Citation/CS1/styles.css"></templatestyles>