StrToMonth
Returns the month number for a given short month name.
function StrToMonth(const AMonth: string): Byte;
Unit
Parameters
const AMonth: string
The short month name to be converted.
Return Value
Byte - The month number or -1 when the month name is invalid.
Description
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.