System.TimeSpan.TTimeSpan.FromHours

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

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

See Also