Finance
DayOfWeek
return the day of the week on which the given date falls
Calling Sequence
Parameters
Description
Examples
Compatibility
DayOfWeek(date)
date
-
a string containing a date specification in a format recognized by ParseDate or a Date data structure; date
The DayOfWeek command returns the day of the week on which the given date falls.
with⁡Finance:
Return the day of the week for dates given in the string form.
DayOfWeek⁡November 09, 2006
Thursday
DayOfWeek⁡Nov-09-07
Wednesday
Return the day of the week for a date given as a record.
date≔FormatDate⁡November 19, 2006,record
date≔Record⁡weekDay=1,monthDay=19,month=11,year=2006,format=%B %e, %Y
DayOfWeek⁡date
Sunday
Return the day of the week for a date given as a list.
date≔FormatDate⁡November 19, 2006,list
date≔19,11,2006
By default the global evaluation date is used.
SetEvaluationDate⁡November 19, 2006:
EvaluationDate⁡
November 19, 2006
DayOfWeek⁡
The Finance[DayOfWeek] command was introduced in Maple 15.
For more information on Maple 15 changes, see Updates in Maple 15.
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