return the global evaluation date - Maple 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

withFinance:

EvaluationDate

February 18, 2015

(1)

EvaluationDatelist

18,2,2015

(2)

EvaluationDate%d-%B-%Y

18-February-2015

(3)

SetEvaluationDateJan-05-2007:

EvaluationDate

January 5, 2007

(4)

EvaluationDatelist

5,1,2007

(5)

EvaluationDate%d-%B-%Y

05-January-2007

(6)

See Also

Finance[FormatDate], Finance[ParseDate], Finance[SetEvaluationDate], Finance[TodaysDate], StringTools[FormatTime], StringTools[ParseTime]


Download Help Document

Was this information helpful?



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