DAYOFWEEK — различия между версиями

Материал из Фабиус wiki
Перейти к: навигация, поиск
м
м
Строка 1: Строка 1:
 
DAYOFWEEK - это функция [[ADS]]
 
DAYOFWEEK - это функция [[ADS]]
 +
 +
Advantage Expression Engine function that returns the numeric day of a date value
 +
 +
Syntax
 +
 +
DAYOFWEEK(<dDate>) à nDay
 +
 +
Parameters
 +
 +
<dDate>  A date value to convert.
 +
 +
Return Values
 +
 +
DAYOFWEEK() returns a number in the range of 1 to 7 as an integer numeric value.  If the date argument is empty, DAYOFWEEK() returns zero.
 +
 +
Remarks
 +
 +
DAYOFWEEK() is a date conversion function used to convert a date value to the numeric day of week value and can be used in various date calculations.
 +
 +
 +
 +
Note Advantage Expression Engine functions can be used in expressions such as record filter expressions and index expressions. They are not necessarily scalars supported within SQL statements. For a list of supported SQL scalar functions, see Supported Scalar Functions.

Версия 14:42, 19 сентября 2018

DAYOFWEEK - это функция ADS

Advantage Expression Engine function that returns the numeric day of a date value

Syntax

DAYOFWEEK(<dDate>) à nDay

Parameters

<dDate> A date value to convert.

Return Values

DAYOFWEEK() returns a number in the range of 1 to 7 as an integer numeric value. If the date argument is empty, DAYOFWEEK() returns zero.

Remarks

DAYOFWEEK() is a date conversion function used to convert a date value to the numeric day of week value and can be used in various date calculations.


Note Advantage Expression Engine functions can be used in expressions such as record filter expressions and index expressions. They are not necessarily scalars supported within SQL statements. For a list of supported SQL scalar functions, see Supported Scalar Functions.