RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SqlTimSt.SQLDayOfWeek Function

Indicates the day of the week when a specified TSQLTimeStamp value occurs.

Pascal
function SQLDayOfWeek(const DateTime: TSQLTimeStamp): integer;
C++
int SQLDayOfWeek(const TSQLTimeStamp DateTime);

SqlTimSt

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. 

 

DayOfWeek

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!