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);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!