Data.SqlTimSt.SQLDayOfWeek
| [–] Properties | |
|---|---|
| Type: function | |
| Visibility: public | |
| Source: Data.SqlTimSt.pas Data.SqlTimSt.hpp
| |
| Unit: Data.SqlTimSt | |
| Parent: Data.SqlTimSt | |
Delphi
function SQLDayOfWeek(const DateTime: TSQLTimeStamp): Integer;
C++
extern DELPHI_PACKAGE int __fastcall SQLDayOfWeek(const TSQLTimeStamp &DateTime);
Description
Indicates the day of the week when a specified TSQLTimeStamp value occurs.
SQLDayOfWeek 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.