Finance - Maple Programming Help

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

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)$
 ${"February 17, 2016"}$ (1)
 > $\mathrm{EvaluationDate}\left(\mathrm{list}\right)$
 $\left[{17}{,}{2}{,}{2016}\right]$ (2)
 > $\mathrm{EvaluationDate}\left("%d-%B-%Y"\right)$
 ${"17-February-2016"}$ (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.