# Mars time > What time is it on Mars right now? The Mars Sol Date, Mars clock time and local solar time at a landing site, now or for any Earth date. See what time it is on Mars: Mars Sol Date, Coordinated Mars Time and local solar time at Curiosity, Perseverance and more. Convert Earth dates to sols. - Page: https://how.box/mars-time/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/about/terms/ ## Inputs Answer link: https://how.box/mars-time/?d={d}&day={day}&t={t}&msd={msd}&s={s}&lon={lon} - `d` (to_mars or to_earth): to_mars (Earth UTC → Mars time) or to_earth (sol date → Earth UTC). Example: `to_mars`. - `day` (text): UTC date YYYY-MM-DD, for to_mars. Example: `2012-08-06`. - `t` (text): UTC time HH:MM:SS, for to_mars. Example: `05:17:57`. - `msd` (text): Mars Sol Date, for to_earth. Example: `49269.6`. - `s` (custom, airy0, curiosity, perseverance, insight, opportunity, spirit, viking1 or pathfinder): Place for the local time: airy0, curiosity, perseverance, insight, opportunity, spirit, viking1, pathfinder or custom. Example: `curiosity`. - `lon` (number -180 to 360): East longitude in degrees on Mars, for site=custom. Example: `137.44`. Example answer: https://how.box/mars-time/?d=to_mars&day=2012-08-06&t=05%3A17%3A57&msd=49269.6&s=curiosity&lon=137.44 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `mars_time_convert`: Converts between Earth UTC and Mars time with the NASA GISS Mars24 algorithm (Allison & McEwen 2000): Mars Sol Date (MSD, sols since 1873-12-29), Coordinated Mars Time (MTC, mean solar time at the Mars prime meridian) and local mean solar time at an east longitude (a landing site or a custom longitude). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"mars_time_convert","arguments":{"direction":"to_mars","date":"2012-08-06","time":"05:17:57","msd":"49269.6","site":"curiosity","longitude":137.44}}}` - GET: https://how.box/mcp/run/mars_time_convert?direction=to_mars&date=2012-08-06&time=05%3A17%3A57&msd=49269.6&site=curiosity&longitude=137.44 ## How it works A day on Mars, a sol, lasts 24 hours 39 minutes 35 seconds, about 2.7 % longer than an Earth day. Mars has no time zones, so scientists number the sols in one running count, the Mars Sol Date (MSD), and keep Coordinated Mars Time (MTC) as the mean solar time at the prime meridian. Local mean solar time at a landing site is MTC shifted by one hour for every 15 degrees of longitude east. Mission teams live on this local time, which is why their Earth schedules slip by about 40 minutes a day. The tool follows the NASA GISS Mars24 algorithm. The Earth time in UTC is turned into Terrestrial Time by adding the leap seconds and 32.184 s, then MSD = (JD_TT − 2405522.0028779) / 1.0274912517, where JD_TT is the Julian Date in Terrestrial Time and 1.0274912517 is the length of a sol in Earth days. MTC is the fraction of the sol times 24 h, and local time adds longitude × 24 h / 360°. For example, on 6 August 2012 at 05:17:57 UTC the longitude of Gale crater (137.44° east) gives about 15:03, the mid-afternoon in which Curiosity landed. This is mean solar time, a steady clock. The real Sun runs up to about 50 minutes ahead or behind it over a Martian year because of the planet's elliptical orbit. Leap seconds after 2017 are not known yet, so far-future dates can be a few seconds off, and the tool covers 1972 to 2199. ## FAQ **How long is a day on Mars?** A sol is 24 hours 39 minutes 35.244 seconds of Earth time. Mars Sol Dates and Mars clocks divide a sol into 24 equal Mars hours. **What is the Mars Sol Date?** A running count of sols with a fraction for the time of day, like the Julian Date for Earth. Sol 0 begins on 29 December 1873 (Allison and McEwen, 2000). **What is Coordinated Mars Time?** The mean solar time at Mars's prime meridian, which crosses the small crater Airy-0. It is the Mars counterpart of UTC. **Why does the local time differ between landing sites?** Mars turns 360 degrees in one sol, so local time moves by 1 hour for each 15 degrees of longitude, like Earth's time zones but without any fixed zones. **Is this the same as the sol count of a rover mission?** No. Each mission counts its own sols from its landing, and the sol boundary follows the local time of the mission. The Mars Sol Date is one common count for the whole planet. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/about/agents/)