Advantage Database Server

QUARTER()

Advantage Concepts

QUARTER()

Advantage Concepts

This is the first topic This is the last topic  

QUARTER()

Advantage Concepts

This is the first topic This is the last topic  

Advantage Expression Engine function that returns the quarter of a date value

 

Syntax

QUARTER( <dDate> ) -> nQuarter

 

Parameters

<dDate>  A date value to convert.

 

Return Values

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

 

Remarks

QUARTER() is a date conversion function used to convert a date value to the quarter number.

 

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.

 

See Also

YEAR()

MONTH()

WEEK()

DAY()