Mathematica 9 is now available
 Documentation / Mathematica / Built-in Functions / Time and Date  /
ToDate

  • ToDate[ time ] converts an absolute time in seconds since the beginning of January 1, 1900 to a date of the form y , m , d , h , m , s .
  • ToDate converts between the forms returned by AbsoluteTime and Date.
  • ToDate assumes that both the absolute time and the date are to be given in the same time zone.
  • See the Mathematica book: Section 2.13.3.
  • See also: FromDate.
  • Related package: Miscellaneous`Calendar`.

    Further Examples

    September 10, 1931 was the date one billion seconds after January 1, 1900.

    In[1]:=

    Out[1]=



    Any questions about topics on this page? Click here to get an individual response.Buy NowMore Information
    THIS IS DOCUMENTATION FOR AN OBSOLETE PRODUCT.
    SEE THE DOCUMENTATION CENTER FOR THE LATEST INFORMATION.