help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'sysutils' (#rtl)

FloatToDateTime

Convert a float to a TDateTime value.

Declaration

Source position: sysstrh.inc line 183

function FloatToDateTime(

  const Value: Extended

):TDateTime;

Description

FloatToDateTime converts the Value floating point value to a TDateTime value. It checks whether Value is in the valid range of dates (determined by MinDateTime and MaxDateTime). If not, an EConvertError exception is raised.

Errors

If Value is out of range, an EConvertError exception is raised.

See also

EConvertError

  

Conversion error.

MinDateTime

  

Minimum TDateTime value.

MaxDateTime

  

Maximum TDateTime value.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505