QUARTER
added to EXTRACT
, FIRST_DAY
and LAST_DAY
The scalar functions EXTRACT
, FIRST_DAY
and LAST_DAY
now support the date part QUARTER
.
select extract(quarter from date '2023-09-21') as Q, first_day(of quarter from date '2023-09-21') as Q_START, last_day(of quarter from date '2023-09-21') as Q_END from rdb$database; Q Q_START Q_END ======= =========== =========== 3 2023-07-01 2023-09-30