Open main menu

RAD Studio API Documentation β

System.TimeSpan.TTimeSpan.FromSeconds

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