ToDate - Maple Help

MmaTranslator[Mma]

 ToDate
 convert an absolute time in seconds to date format

 Calling Sequence ToDate(arguments)

Parameters

 arguments - Maple translation of the Mathematica command arguments

Description

 • The ToDate command converts an absolute time in seconds since January 1, 1900 to a date of the form [year, month, day, hour, minute, second].

Examples

 > $\mathrm{with}\left(\mathrm{MmaTranslator}\left[\mathrm{Mma}\right]\right):$

Use the command with the Maple translation.

 > $\mathrm{ToDate}\left(87439542\right)$
 $\left[{1902}{,}{10}{,}{10}{,}{0}{,}{45}{,}{42}\right]$ (1)

Alternatively, you can use the FromMma command with the evaluate option specified.

 > $\mathrm{with}\left(\mathrm{MmaTranslator}\right):$
 > $\mathrm{FromMma}\left(\mathrm{ToDate\left[87439542\right]},\mathrm{evaluate}\right)$
 $\left[{1902}{,}{10}{,}{10}{,}{0}{,}{45}{,}{42}\right]$ (2)