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);

SysUtils

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