Topic Path: Symbol Reference > Functions > StrToDay Function
ContentsIndexHome
PreviousUpNext
StrToDay Function
File
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.

Copyright © 1993-2006, Chad Z. Hower (aka Kudzu) and the Indy Pit Crew. All rights reserved.
Post feedback to the Indy Docs Newsgroup.