# isYearEnd {#isyearend}

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

## Syntax {#syntax}

`isYearEnd(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 year.

## Examples {#examples}

```
isYearEnd(2012.12.31);
// output: true

isYearEnd([2012.12.30,2012.12.31]);
// output: [false,true]
```

Related function: [isYearStart](isYearStart.md)

