Hunny Software Library Reference

DateTime.DayOfTheWeek Property

Gets the day of the week.

[Visual Basic]
Public ReadOnly Property DayOfTheWeek As Integer
[C#]
public int DayOfTheWeek {get;}

Property Value

the day of the week

Remarks

The returned value is in the range (0 <= dayOfWeek <= 6), with 0 = Sunday. This value is always computed from the other values. The day of the week is a read-only value that cannot be set.

See Also

DateTime Class | Hunny.Mime Namespace