DateParseDayOfWeek()

Parses a date string and returns the day of the week. Note that the actual name of this token is ParseDayOfWeek() and not DateParseDayOfWeek. Use ParseDayOfWeek() instead.

Token ID

AFTKN_DATE_PARSE_DAY_OF_WEEK or 634

Syntax

WORD ParseDayOfWeek(ANSISTRING DateString)

Parameters

DateString As ANSISTRING

For example, "Jun 17 2012" returns 0 for Sunday.

Return Values

WORD

Zero-based integer (0=Sunday).