datetime::get-day-of-week

Gets the day of the week represented by the specified date.
int datetime::get-day-of-week(date)

Parameters

Name Type Description
date DateTime 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.

Requirements

Assembly
NAnt.Core.dll
Namespace
NAnt.Core.Functions