Returns the day-of-week part of the specified DateTime.
[Visual Basic] MustOverride Public Function GetDayOfWeek( _ ByVal time As DateTime _ ) As Integer [C#] public abstract int GetDayOfWeek( DateTime time ); [C++] public: virtual int GetDayOfWeek( DateTime time ) = 0; [JScript] public abstract function GetDayOfWeek( time : DateTime ) : int;
The 0-based day-of-week part of the time.
The returned value is an integer between 0 and 6[RB14], where 0 indicates Sunday, 1 indicates Monday, 2 indicates Tuesday, 3 indicates Wednesday, 4 indicates Thursday, 5 indicates Friday, and 6 indicates Saturday.
Calendar Class | Calendar Members | System.Globalization Namespace