Difference between revisions of "Template:Age in sols/doc"

From blackwiki
Jump to navigation Jump to search
blackwiki>Rjwilmsi
blackwiki>Mahdy Saffar
(removing interwikis)
Line 43: Line 43:
 
{{commons|Template:Age in days}}
 
{{commons|Template:Age in days}}
  
[[ar:قالب:Age in days]]
 
[[be-x-old:Шаблён:Тэрмін у днях]]
 
[[bn:টেমপ্লেট:Age in sols]]
 
[[cs:Šablona:Věk ve dnech]]
 
[[de:Vorlage:Tagesdifferenz]]
 
[[es:Plantilla:Edad en días]]
 
[[dsb:Pśedłoga:Diferenca pó dnjach]]
 
[[eo:Ŝablono:Tagdiferenco]]
 
[[fa:الگو:سن به روز]]
 
[[fr:Modèle:Age en jours]]
 
[[hsb:Předłoha:Diferenca po dnjach]]
 
[[is:Snið:Aldur í dögum]]
 
[[ja:Template:Age in days]]
 
[[ko:틀:날짜세기]]
 
[[hu:Sablon:Age in days]]
 
[[nl:Sjabloon:Aantal dagen]]
 
[[pt:Predefinição:Idade em dias]]
 
[[ru:Шаблон:Days between]]
 
[[sv:Mall:Dagar från idag]]
 
[[uk:Шаблон:Age in days]]
 
[[ur:سانچہ:عمر دنوں میں]]
 
[[vi:Tiêu bản:Tuổi theo ngày]]
 
 
</includeonly>
 
</includeonly>

Revision as of 16:16, 10 September 2015

Usage

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

or

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

Examples:

  • {{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 4651 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

References

  1. Allison, Michael; Robert Schmunk. "Technical Notes on Mars Solar Time as Adopted by the Mars24 Sunclock". Goddard Spaceflight Center. Retrieved 17 November 2012.