datetime::get-month

Gets the month component of the specified date.
int datetime::get-month(date)

Parameters

Name Type Description
date DateTime The date of which to get the month component.

Return Value

The month, between 1 and 12.

Requirements

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