Creates a TimeSpan that represents the number of hours specified by a value specified to the nearest millisecond.
[Visual Basic] Public Shared Function FromHours( _ ByVal value As Double _ ) As TimeSpan [C#] public static TimeSpan FromHours( double value ); [C++] public: static TimeSpan FromHours( double value ); [JScript] public static function FromHours( value : double ) : TimeSpan;
A TimeSpan that represents value to the nearest millisecond.
The ticks value is computed by converting the value parameter from units of hours to units of milliseconds, rounding to the nearest integer, and then converting from milliseconds to ticks.
TimeSpan Structure | TimeSpan Members | System Namespace | Double | Ticks | Milliseconds