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.92.4543.0)