# isLeapYear {#isleapyear}

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

## Syntax {#syntax}

`isLeapYear(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 in a leap year.

## Examples {#examples}

```
isLeapYear(2012.06.12T12:30:00);
// output: true

isLeapYear([2012.01.01,2013.01.01,2014.01.01,2015.01.01]);
// output: [true,false,false,false]
```

