JapaneseCalendar: GetDayOfWeek

GetDayOfWeek

Returns the DayOfWeek enum of the specified date.



 Public Function GetDayOfWeek(
	  ByRef Time As Variant ) As DayOfWeek

Parameters

Time
[ByRef] Variant. The Date or CorDateTime to read the day of the week from.

Return Values

DayOfWeek -  A DayOfWeek enum representing the day of the week.

Remarks

The DayOfWeek is Sunday and is 0-based. The Visual Basic enum vbDayOfWeek is 1-based.

See Also

Project CorLib Overview

Class JapaneseCalendar Overview