System.TimeSpan.TTimeSpan.FromSeconds

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

class function FromSeconds(Value: Double): TTimeSpan; static;

C++

static TTimeSpan __fastcall FromSeconds(double Value);

Properties

Type Visibility Source Unit Parent
function public
System.TimeSpan.pas
System.TimeSpan.hpp
System.TimeSpan TTimeSpan

Description

Returns a time span equivalent to the number of seconds given through the parameter.

The FromSeconds method returns a TTimeSpan instance whose time interval is equivalent to the number of seconds specified by the Value parameter.

See Also