datetime::get-month

Gets the month component of the specified date.

Usage

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 (0.91.4312.0)