DayOfWeek
Returns the day of the week for a specified date.
Structure
DayOfWeek(Date: TDateTime): Integer;
Parameters
Return Value
Description
DayOfWeek returns the day of the week of the specified date as an integer between 1 and 7, where Sunday is the first day of the week and Saturday is the seventh. |