datetime::get-hour

[This is preliminary documentation and subject to change.]

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