# timespan::from-hours

[This is preliminary documentation and subject to change.]

Returns a TimeSpan that represents a specified number of hours, where the specification is accurate to the nearest millisecond.

### Usage

`timespan timespan::from-hours(value)`

### Parameters

Name | Type | Description
--- | --- | ---
value | double | A number of hours, accurate to the nearest millisecond.

### Return Value

A TimeSpan that represents value.

### Requirements

Assembly: NAnt.Core (0.91.3881.0)