> ## Documentation Index
> Fetch the complete documentation index at: https://docs.nanoforge.eu/llms.txt
> Use this file to discover all available pages before exploring further.

# IsISO8601

> Checks if the string is a valid ISO 8601 date. If given value is not a string, then it returns false. Use the option strict = true for additional checks for a valid date, e.g. invalidates dates like 2019-02-29.

> **IsISO8601**(`options?`, `validationOptions?`): `PropertyDecorator`

Defined in: node\_modules/.pnpm/class-validator\@0.14.4/node\_modules/class-validator/types/decorator/string/IsISO8601.d.ts:15

Checks if the string is a valid ISO 8601 date.
If given value is not a string, then it returns false.
Use the option strict = true for additional checks for a valid date, e.g. invalidates dates like 2019-02-29.

## Parameters

### options?

`IsISO8601Options`

### validationOptions?

`ValidationOptions`

## Returns

`PropertyDecorator`


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.