quarter

Returns the quarter of a Date as an integer starting from 0 (Q1).

Syntax

quarter()

Examples

$('Date').quarter()