System::TimeSpan::FromSeconds method

TimeSpan::FromSeconds method

Returns a new TimeSpan object that represents the specified interval.

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

ReturnValue

A new TimeSpan object that represents the specified interval.

See Also