# isMonthEnd {#ismonthend}

**Parent topic:**[Functions](../../Functions/category.md)

## Syntax {#syntax}

`isMonthEnd(X)`

## Arguments {#arguments}

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

## Details {#details}

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

## Examples {#examples}

```
isMonthEnd(2012.05.31);
// output: true

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

Related function: [isMonthStart](isMonthStart.md)

