System.SysUtils.FloatToDateTime

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function FloatToDateTime(const Value: Extended): TDateTime;

C++

extern DELPHI_PACKAGE System::TDateTime __fastcall FloatToDateTime(const System::Extended Value);

Properties

Type Visibility Source Unit Parent
function public
System.SysUtils.pas
System.SysUtils.hpp
System.SysUtils System.SysUtils

Description

Converts a floating-point value to a TDateTime value.

FloatToDateTime returns the TDateTime value equivalent to Value. If Value is not within the valid range for TDateTime, FloatToDateTime raises an EConvertError exception.

See Also