isQuarterStart

Syntax

isQuarterStart(X)

Arguments

X is a scalar/vector of type DATE, DATEHOUR, DATETIME, TIMESTAMP or NANOTIMESTAMP.

Details

Determine if each element in X is the first day of a quarter.

Examples

isQuarterStart(2012.04.01);
// output
true

isQuarterStart([2012.04.01,2012.05.01]);
// output
[true,false]

Related function: isQuarterEnd