Financial Toolbox    
weekday

Day of the week

Syntax

Description
[DayNum, DayString] = weekday(Date) returns the day of the week in numeric and string form given the date as a serial date number or date string. The days of the week have these values.

DayNum
DayString
1
Sun
2
Mon
3
Tue
4
Wed
5
Thu
6
Fri
7
Sat

Examples

or

returns

See Also
datenum, datestr, datevec, day


 ugarchsim wrkdydif