NAnt SDK Documentation - v0.92 |

# DateTimeFunctions.GetDay Method

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

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

#### Parameters

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

#### Return Value

The day value, between 1 and 31.

#### See Also

DateTimeFunctions Class | NAnt.Core.Functions Namespace