This is documentation for Mathematica 3, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)
 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]=