NAnt SDK Documentation - v0.85-nightly-2005-11-09

DateTimeFunctions.GetDayOfWeek Method 

[This is preliminary documentation and subject to change.]

Gets the day of the week represented by the specified date.

[Visual Basic]
<Function(Name:="get-day-of-week")>
Public Shared Function GetDayOfWeek( _
   ByVal date As Date _
) As Integer
[C#]
[Function(Name="get-day-of-week")]
public static int GetDayOfWeek(
   DateTime date
);

Parameters

date
The date of which to get the day of the week.

Return Value

The day of the week, ranging from zero, indicating Sunday, to six, indicating Saturday.

Remarks

Missing <remarks> documentation for M:NAnt.Core.Functions.DateTimeFunctions.GetDayOfWeek(System.DateTime)

See Also

DateTimeFunctions Class | NAnt.Core.Functions Namespace