Finance - Maple Programming Help

Home : Support : Online Help : Mathematics : Finance : Date Arithmetic : Finance/TodaysDate

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 5, 2020"}$ (1)
 > $\mathrm{TodaysDate}\left(\mathrm{list}\right)$
 $\left[{5}{,}{3}{,}{2020}\right]$ (2)
 > $\mathrm{TodaysDate}\left("%d-%B-%Y"\right)$
 ${"05-March-2020"}$ (3)

Compatibility

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