Converts a TTimeStamp value into the corresponding TDateTime value.
function TimeStampToDateTime(const TimeStamp: TTimeStamp): TDateTime;
TDateTime TimeStampToDateTime(const TTimeStamp TimeStamp);
SysUtils
Call TimeStampToDateTime to convert a TTimeStamp value into a TDateTime value. TTimeStamp values represent time as separate date and time values, where the date is the number of calendar days since the start of the current calendar (that is, January 1, 0001 would have a value of 1), and time is the number of milliseconds since midnight. TDateTime values represent time as the number of days (including fractional days) that have elapsed since 12:00 am on December 30, 1899.
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
|
What do you think about this topic? Send feedback!
|