Creates a TimeSpan that represents the number of seconds specified by a specified value.
[Visual Basic] Public Shared Function FromSeconds( _ ByVal value As Double _ ) As TimeSpan [C#] public static TimeSpan FromSeconds( double value ); [C++] public: static TimeSpan FromSeconds( double value ); [JScript] public static function FromSeconds( 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 seconds 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