Finance[FormatDate] - return a string containing a formatted date
|
Calling Sequence
|
|
FormatDate(data, format)
|
|
Parameters
|
|
data
|
-
|
record; date information
|
format
|
-
|
record, list, or a string; (optional) date format
|
|
|
|
|
Description
|
|
•
|
The FormatDate command formats the date according to the formatting specification given by the string format. The date format can be any format specification as described in StringTools[ParseTime]. If the original date is given as a string, the corresponding date format will be deduced.
|
|
|
Compatibility
|
|
•
|
The Finance[FormatDate] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
>
|
|
| (1) |
>
|
|
| (2) |
>
|
|
| (3) |
|
|
Download Help Document
Was this information helpful?