TodaysDate - Maple Help

Finance

 TodaysDate

 Calling Sequence TodaysDate(format)

Parameters

 format - list, record, or a string; (optional) date format

Description

 • The TodaysDate command returns today's date. If the optional parameter format is given, the returned date will be formatted accordingly. See the Finance[FormatDate] command for more details.

Examples

 > $\mathrm{with}\left(\mathrm{Finance}\right):$
 > $\mathrm{TodaysDate}\left(\right)$
 ${"March 9, 2021"}$ (1)
 > $\mathrm{TodaysDate}\left(\mathrm{list}\right)$
 $\left[{9}{,}{3}{,}{2021}\right]$ (2)
 > $\mathrm{TodaysDate}\left("%d-%B-%Y"\right)$
 ${"09-March-2021"}$ (3)

Compatibility

 • The Finance[TodaysDate] command was introduced in Maple 15.