RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.TryFloatToDateTime Function

Converts a floating-point value to a TDateTime value.

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

SysUtils

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) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!