RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.FloatToDateTime Function

Converts a floating-point value to a TDateTime value.

Pascal
function FloatToDateTime(const Value: Extended): TDateTime;
C++
TDateTime FloatToDateTime(const Extended Value);

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

 

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