DayOfWeek - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Finance

  

DayOfWeek

  

return the day of the week on which the given date falls

 

Calling Sequence

Parameters

Description

Examples

Compatibility

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.

Examples

withFinance:

Return the day of the week for dates given in the string form.

DayOfWeekNovember 09, 2006

Thursday

(1)

DayOfWeekNov-09-07

Wednesday

(2)

Return the day of the week for a date given as a record.

dateFormatDateNovember 19, 2006,record

dateRecordweekDay=1,monthDay=19,month=11,year=2006,format=%B %e, %Y

(3)

DayOfWeekdate

Sunday

(4)

Return the day of the week for a date given as a list.

dateFormatDateNovember 19, 2006,list

date19,11,2006

(5)

DayOfWeekdate

Sunday

(6)

By default the global evaluation date is used.

SetEvaluationDateNovember 19, 2006:

EvaluationDate

November 19, 2006

(7)

DayOfWeek

Sunday

(8)

Compatibility

• 

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]