MJD2Dt
Contents: Description, Arguments, Usage, Examples, Sub-Functions, Related Functions, Source Supported Under Version: > 1.15
Description Convert UTC Modified Julian date to J2000.0 TT offset (accounts for leap seconds)
Arguments and Return Values Parameters: Numeric array specifying the UTC Modified Julian Dates to convert to J2000.0 TT offsets Return Value: The corresponding set of J2000.0 TT offsets (in days)
Usage Syntax: MJD2Dt(MJD) The Modified Julian Date is a continuous count of days since midnight UTC at the beginning of November 17, 1858 (in the Gregorian calendar). The J2000.0 TT offset (ΔtJ2000) is a continuous count of days since noon TT on January 1, 2000. This offset is the input to marstimeglobal. Coordinated Universal Time (UTC) is the basis for the time system used in everyday life. In order to keep UTC consistent with the Earth's slightly variable rate of rotation, leap seconds are occasionally inserted into UTC. Terrestrial Time (TT) is a time system with no leap seconds. Returns double-precision J2000.0 TT offsets. The returned values are as accurate as the input, although that accuracy may be further limited by uncertainty in Delta-T. See the function DeltaT for details. For more information, see http://heasarc.gsfc.nasa.gov/docs/xte/abc/time_tutorial.html and http://www.giss.nasa.gov/tools/mars24/help/algorithm.html. When MJD2Dt() is entered without any arguments, it prints its description, as shown below.
Examples dv> MJD2Dt() Convert UTC Modified Julian date to J2000.0 TT offset MJD2Dt(MJD) returns number of days since noon TT on January 1, 2000 Accounts for leap seconds Works for array inputs Returns double-precision offset, in days The returned values are as accurate as the input, although that accuracy may be further limited by uncertainty in Delta-T. See the function DeltaT for details. See http://www.giss.nasa.gov/tools/mars24/help/algorithm.html S.Marshall 04-13-2009 0 dv> a = MJD(2010, 1, 1, 12, 0, 0) 55197.5000000000 dv> MJD2Dt(a) 3653.00076601852 |
DavinciWiki Mini-Nav Bar Contents
Contact Developers
All other topics
Major Sub-Functions
Recent Library Changes Created On: 11-18-2009 |