System.TimeSpan.TTimeSpan.FromDays

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

static TTimeSpan __fastcall FromDays(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 days given through the parameter.

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

See Also