TimeSystemConvert

TimeSystemConvert[date,tsys]

converts the date object date to the specified time system tsys.

TimeSystemConvert[date]

converts to the default time system.

TimeSystemConvert[{date1,,daten},tsys]

converts date1 through daten to the specified time system.

Details

  • Changes of time system may be required for different reasons: the slowdown of Earth's rotation, relativistic effects due to high speed, the presence of a gravitational field, etc.
  • Possible values for time systems include:
  • Automaticstandard civil time, but not including leap seconds
    "TAI"atomic time, as measured by atomic clocks
    "TCB"barycentric coordinate time
    "TCG"geocentric coordinate time
    "TDB"barycentric dynamical time
    "TT"terrestrial time, as measured at sea level on the Earth
    "UTC"coordinated universal time, including leap seconds
    "UT1"time proportional to the Earth's rotation angle
    "SmearedUTC"coordinated universal time, smearing leap seconds over the previous day

Examples

open allclose all

Basic Examples  (1)

Define an instant in the UTC time system:

Convert to atomic time, which is currently 37 leap seconds ahead of UTC:

Scope  (2)

Define an instant in "UTC" time:

Convert to other time systems:

Convert a list of dates:

Wolfram Research (2021), TimeSystemConvert, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeSystemConvert.html.

Text

Wolfram Research (2021), TimeSystemConvert, Wolfram Language function, https://reference.wolfram.com/language/ref/TimeSystemConvert.html.

CMS

Wolfram Language. 2021. "TimeSystemConvert." Wolfram Language & System Documentation Center. Wolfram Research. https://reference.wolfram.com/language/ref/TimeSystemConvert.html.

APA

Wolfram Language. (2021). TimeSystemConvert. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/TimeSystemConvert.html

BibTeX

@misc{reference.wolfram_2024_timesystemconvert, author="Wolfram Research", title="{TimeSystemConvert}", year="2021", howpublished="\url{https://reference.wolfram.com/language/ref/TimeSystemConvert.html}", note=[Accessed: 21-November-2024 ]}

BibLaTeX

@online{reference.wolfram_2024_timesystemconvert, organization={Wolfram Research}, title={TimeSystemConvert}, year={2021}, url={https://reference.wolfram.com/language/ref/TimeSystemConvert.html}, note=[Accessed: 21-November-2024 ]}