System.SysUtils.TryFloatToDateTime
Delphi
function TryFloatToDateTime(const Value: Extended; out AResult: TDateTime): Boolean;
C++
extern DELPHI_PACKAGE bool __fastcall TryFloatToDateTime(const System::Extended Value, /* out */ System::TDateTime &AResult);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Converts a floating-point value into a TDateTime value.
TryFloatToDateTime converts a floating-point value into the corresponding TDateTime value.
Value is the floating-point value to convert.
AResult returns the corresponding TDateTime value if possible.
TryFloatToDateTime returns True if the conversion was successful, False otherwise.