Internet Direct (Indy)
Home
PreviousUpNext
StrToDay Function
Pascal
function StrToDay(
    const ADay: string
): Byte;
Parameters 
Description 
ADay 
The 3-character day of week name. 

Byte - The day of week, or -1 if the day name is not valid.

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.

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.