Finance - Maple Programming Help

# Online Help

###### All Products    Maple    MapleSim

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

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)$
 ${"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[EvaluationDate] command was introduced in Maple 15.
 • For more information on Maple 15 changes, see Updates in Maple 15.

 See Also

## Was this information helpful?

 Please add your Comment (Optional) E-mail Address (Optional) What is ? This question helps us to combat spam