cDateTime: DayOfWeek (get)

DayOfWeek

Returns the day of the week for the current date.



 Public Property Get DayOfWeek ( ) As DayOfWeek

Return Values

DayOfWeek -  The day of the week.

Remarks

The DayOfWeekEnum is zero based and therefore not directly compatible with vbDayOfWeek. 1 must be added to align to the 1-based values of vbDayOfWeek.

Read Only.

See Also

Project VBCorLib Overview Class cDateTime Overview cDateTime Properties cDateTime Methods Day (get) DayOfYear (get)