Topic Path: Pending > TIdDateTimeStamp.SetFromISO8601
ContentsIndexHome
PreviousUpNext
TIdDateTimeStamp.SetFromISO8601

Sets the date and time from an ISO 8601 time value.

Parameters 
Description 
AString 
Date and time in ISO 8601 format. 

SetFromISO8601 is a procedure that the date and time components in TIdDateTimeStamp using the ISO 8601 date time value in AString. AString may contain an ISO date value that is expressed as a Calendar, Ordinal, or Week date value. The following ISO 8601 date formats are allowed: 

AString may also contain an ISO time value expressed in HH:MM:SS format. The time format may also contain an optional prefix "T" indicating a time value. 

For example, the following values all represent ISO 8601 date time values for July 4, 2001 at 1:00 PM:

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