SysUtils.TryFloatToDateTime

From RAD Studio VCL Reference
Jump to: navigation, search

Contents

Delphi Information

From SysUtils.pas

	function TryFloatToDateTime(const Value: Extended; out AResult: TDateTime): Boolean;


Unit: SysUtils

Type: function

Visibility: public

C++ Information

From SysUtils.hpp

	bool __fastcall TryFloatToDateTime(long double Value, System::TDateTime & AResult);


Unit: SysUtils

Type: function

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.

See Also

Personal tools
Translations
Newest Version