DataLab is a compact statistics package aiming at exploratory data analysis. Please visit the DataLab Web site for more information....


EncodeDateTime

Declaration: EncodeDateTime (const AYear, AMonth, ADay, AHour, AMinute, ASecond, AMilliSecond: Word): TDateTime;
EncodeDateTime returns a TDateTime value which is calculated from the parameters AYear, AMonth, ADay, AHour, AMinute, ASecond, and AMilliSecond. The valid date/time range is between 01-Jan-0001 to 31-Dec-9999.

If any of the parameters is invalid the returned value is set to -999999.0000.