Indicates if a string contains a valid date using the specified delimiters.
function IsMMDDYY( const AData: String; const ADelin: String ): Boolean;
Parameters |
Description |
AData |
Data to examine for a valid date value. |
ADelin |
Delimiter expected between date components. |
Boolean - True when the string contains a valid date.
IsMMDDYY is a Boolean function used to determine if the string in AData represents a valid date. ADelin indicates the delimiter(s) expected between the month, day, and year components of the date value.
IsMMDDYY expects the month to be the initial component in the date string, and must be in the range 1..12 inclusive. Left-padding with Zero (0) is optional.
IsMMDDYY expects the day value to be the next component in the date string, and must be in the range 1..31 inclusive. Left-padding with Zero (0) is optional.
IsMMDDYY expects the year value to be the next component in the date string, and must be a valid numeric value.
IsMMDDYY returns True when AData contains a valid date value using the specified delimiters.
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. |