Calculates the day of the week in the specified date.
Syntax
Parameters
- time
-
The DateTime to read.
Returns
One of the DayOfWeek values that represents the day of the week specified in the time parameter.
Remarks
Requirements
Namespace: System.Globalization
Assembly: mscorlib (in mscorlib.dll)
Assembly Versions: 2.0.0.0, 4.0.0.0
Since: .NET 2.0