EvaluationDate - Maple Help

Finance

 EvaluationDate
 return the global evaluation date

 Calling Sequence EvaluationDate(format)

Parameters

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

Description

 • The EvaluationDate command returns a record containing the global evaluation date. If the optional parameter format is given, the returned date will be formatted accordingly. See Finance[FormatDate] for more details.
 • By default, this date is set to the current date as returned by the TodaysDate command. However, the evaluation date does not have to coincide with today's date. Unlike today's date, the global evaluation date can be set (see Finance[SetEvaluationDate]).

Examples

 > $\mathrm{with}\left(\mathrm{Finance}\right):$
 > $\mathrm{EvaluationDate}\left(\right)$
 ${"March 9, 2021"}$ (1)
 > $\mathrm{EvaluationDate}\left(\mathrm{list}\right)$
 $\left[{9}{,}{3}{,}{2021}\right]$ (2)
 > $\mathrm{EvaluationDate}\left("%d-%B-%Y"\right)$
 ${"09-March-2021"}$ (3)
 > $\mathrm{SetEvaluationDate}\left("Jan-05-2007"\right):$
 > $\mathrm{EvaluationDate}\left(\right)$
 ${"January 5, 2007"}$ (4)
 > $\mathrm{EvaluationDate}\left(\mathrm{list}\right)$
 $\left[{5}{,}{1}{,}{2007}\right]$ (5)
 > $\mathrm{EvaluationDate}\left("%d-%B-%Y"\right)$
 ${"05-January-2007"}$ (6)

Compatibility

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