CodeVerge.Net Beta


   Explore    Item Entry   Register  Login  
Microsoft News
Asp.Net Forums
IBM Software
Borland Forums
Adobe Forums
Novell Forums


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
C#
public static TimeSpan FromHours(
	double value
)
Visual C++
public:
static TimeSpan FromHours(
	double value
)
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

ExceptionCondition
System..::.ArgumentExceptionvalue is equal to NaN.
System..::.OverflowExceptionvalue is less than MinValue or greater than MaxValue.

See Also



Free Download:
   
  Privacy | Contact Us
All Times Are GMT