Topic Path: Pending > TIdDateTimeStamp.SetFromTTimeStamp
ContentsIndexHome
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

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