Internet Direct (Indy)
Home
PreviousUpNext
StrToMonth Function
Pascal
function StrToMonth(
    const AMonth: string
): Byte;
Parameters 
Description 
AMonth 
The short month name to be converted. 

Byte - The month number or -1 when the month name is invalid.

StrToMonth is a Byte function used to the month number for the short month name specified in AMonth. StrToMonth will return -1 if AMonth is not a valid short month name.

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.