Internet Direct (Indy)
Home
PreviousUpNext
TIdDateTimeStamp.GetAsTTimeStamp Method

Provides access to the Indy timestamp as a TTimeStamp value.

Pascal
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.

Internet Direct (Indy) version 10.1.5
Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Website http://www.indyproject.org.
Post feedback to the Indy Documentation newsgroup.