StrToDay
Returns the day number for a short day name.
function StrToDay(const ADay: string): Byte;
Unit
Parameters
const ADay: string
The 3-character day of week name.
Return Value
Byte - The day of week, or -1 if the day name is not valid.
Description
StrToDay is a Byte function used to calculate the day of week for the short day name in ADay. StrToDay will return -1 when ADay is not a valid day name.