RAD Studio VCL Reference
SysUtils.TryFloatToDateTime Function

Converts a floating-point value to a TDateTime value.

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

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. 


Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!