Topic Path: Symbol Reference > Classes > TIdDateTimeStamp Class > TIdDateTimeStamp Methods > GetAsTTimeStamp Method
ContentsIndexHome
PreviousUpNext
TIdDateTimeStamp.GetAsTTimeStamp Method

Provides access to the Indy timestamp as a TTimeStamp value.

function GetAsTTimeStamp: TIdDateTimeStamp;

GetAsTTimeStamp is a TTimeStamp function that acts as the read access specifier for the AsTTimeStamp property. GetAsTTimeStamp adjusts the date in the TTimestamp return value to account for the presence of Leap Year and Leap Day. GetAsTTimeStamp also adjusts the time in the TTimestamp return value to set both the number of seconds and milliseconds for the time value.

Copyright 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.