System::TimeSpan::FromHours method

TimeSpan::FromHours method

Returns a new TimeSpan object that represents the specified interval.

static TimeSpan System::TimeSpan::FromHours(double value)
ParameterTypeDescription
valuedoubleThe time interval expressed as the number of hours.

ReturnValue

A new TimeSpan object that represents the specified interval.

See Also