Internet Direct (Indy)
Home
PreviousUpNext
TIdDateTimeStamp.SetFromTTimeStamp

Initializes the Indy timestamp from a TTimeStamp value.

Parameters 
Description 
ATimeStamp 
Native timestamp value to assign the Indy timestamp. 

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.

SetFromTDateTime

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.