isMonthStart

Syntax

isMonthStart(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 month.

Examples

isMonthStart(2012.05.01);
// output
true

isMonthStart([2012.05.01,2012.05.02]);
// output
[true,false]

Related function: isMonthEnd