System.TDateTime.DayOfWeek
C++
int __fastcall DayOfWeek() const;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | systdate.h | System | TDateTime |
Description
Returns the day of the week of the date portion in the TDateTime.
DayOfWeek returns an integer from 1 through 7. Sunday is treated as the first day of the week and Saturday as the seventh.