isMonthEnd

Syntax

isMonthEnd(X)

Arguments

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

Details

Determine if each element in X is the last day of a month.

Examples

isMonthEnd(2012.05.31);
// output
true

isMonthEnd([2012.05.30,2012.05.31]);
// output
[false,true]

Related function: isMonthStart