Finance[DayOfWeek] - return the day of the week on which the given date falls
|
Calling Sequence
|
|
DayOfWeek(date)
|
|
Parameters
|
|
date
|
-
|
a string containing a date specification in a format recognized by ParseDate or a date data structure; date
|
|
|
|
|
Description
|
|
•
|
The DayOfWeek command returns the day of the week on which the given date falls.
|
|
|
Compatibility
|
|
•
|
The Finance[DayOfWeek] command was introduced in Maple 15.
|
|
|
Examples
|
|
>
|
|
Return the day of the week for dates given in the string form.
>
|
|
| (1) |
>
|
|
| (2) |
Return the day of the week for a date given as a record.
>
|
|
| (3) |
>
|
|
| (4) |
Return the day of the week for a date given as a list.
>
|
|
| (5) |
>
|
|
| (6) |
By default the global evaluation date is used.
>
|
|
>
|
|
| (7) |
>
|
|
| (8) |
|
|
See Also
|
|
Finance[AdjustDate], Finance[AdvanceDate], Finance[Calendar], Finance[Calendars], Finance[FormatDate], Finance[IsBusinessDay], Finance[IsEndOfMonth], Finance[IsHoliday], Finance[JoinBusinessDays], Finance[JoinHolidays], Finance[ParseDate], Finance[RemoveHoliday], StringTools[ParseTime]
|
|
Download Help Document
Was this information helpful?