# ISO8601DateTime

> **Class** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/chains/query_constructor/parser/ISO8601DateTime)

A datetime in ISO 8601 format (YYYY-MM-DDTHH:MM:SS).

## Signature

```python
ISO8601DateTime()
```

## Extends

- `TypedDict`

## Constructors

```python
__init__(
    datetime: str,
    type: Literal['datetime'],
)
```

| Name | Type |
|------|------|
| `datetime` | `str` |
| `type` | `Literal['datetime']` |


## Properties

- `datetime`
- `type`

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/9f232caa7a8fe1ca042a401942d5d90d54ceb1a6/libs/langchain/langchain_classic/chains/query_constructor/parser.py#L70)