FromSeconds()

TimeSpan::FromSeconds(double) method

Returns a new TimeSpan object that represents the specified interval.

static TimeSpan System::TimeSpan::FromSeconds(double value)

Arguments

ParameterTypeDescription
valuedoubleThe time interval expressed as the number of seconds.

Return Value

A new TimeSpan object that represents the specified interval.

See Also