datetime::get-hour

Gets the hour component of the specified date.

Usage

int datetime::get-hour(date)

Parameters

Name Type Description
date datetime The date of which to get the hour component.

Return Value

The hour, between 0 and 23.

Requirements

Assembly: NAnt.Core (0.92.4543.0)