Returns a
TimeSpan that represents a specified number of hours, where the specification is accurate to the nearest millisecond.
Namespace:
?
System
Assembly:
?
mscorlib (in mscorlib.dll)
Syntax
Visual Basic (Declaration) |
---|
Public Shared Function FromHours ( _
value As Double _
) As TimeSpan |
JavaScript |
---|
System.TimeSpan.fromHours = function(value); |
Parameters
- value
- Type: System..::.Double
A number of hours accurate to the nearest millisecond.
Return Value
A
TimeSpan that represents value.
Exceptions
See Also