Quarter(Date date)

Returns the numeric quarter of the given date.

Parameters

date
The date to check.

Returns

Numeric

Examples