SetEvaluationDate - Maple Help

Finance

 SetEvaluationDate
 set the global evaluation date

 Calling Sequence SetEvaluationDate(data)

Parameters

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

Description

 • The SetEvaluationDate command sets the global evaluation date.

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[SetEvaluationDate] command was introduced in Maple 15.