ChronosChronos

getQuarter

Returns the calendar quarter (1 to 4) of the current date.

getQuarter()

Returns the calendar quarter (1 to 4) of the current date.

Note

Uses the standard definition where quarters begin in January, April, July, and October.

This method strictly uses the calendar year. For fiscal quarters, use getFiscalQuarter instead.

Signature

getQuarter(): Quarter

Return Type

Quarter - Calendar quarter (1-4)

Notes

  • Q1: Jan-Mar, Q2: Apr-Jun, Q3: Jul-Sep, Q4: Oct-Dec

Example

playground.ts

Last updated: Thu, May 21, 2026 03:14:59PM (UTC)

On this page