timespan::get-hours

Returns the number of whole hours represented by the specified System.TimeSpan.
int timespan::get-hours(value)

Parameters

Name Type Description
value TimeSpan A System.TimeSpan.

Return Value

The number of whole hours represented by the given System.TimeSpan.

Requirements

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