GregorianCalendar: 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 retrieve the day of the week for.

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 GregorianCalendar Overview