Return the quarter
Syntax
quarter(dt_expr)
Arguments
Description
This function returns the number of the quarter in the specified date expression as a number between 1 and 4.
Example
select quarter(curdate()) of "Current Quarter"; Current Quarter 2
Copyright © 2023, Raima Inc. All rights reserved. [4/12/2023 3:25:40 PM]