SetFromTTimeStamp is a procedure used to assign the native TTimeStamp value in ATimeStamp to the Indy timestamp. SetFromTTimeStamp calls
SetYear,
SetDay, and
SetSecond to initialize the Indy timestamp to a value that corresponds to the date and time value 1/1/1 00:00:00. SetFromTTimeStamp then calls
SetMillisecond using the time portion of ATimeStamp, and
SetDay using the date portion of ATimeStamp.