---
metadata:
  - name: generator
    content: Diplodoc Platform v5.52.0
alternate:
  - https://www.yandex.com/dev/metrika/en/data-import/date.md
  - https://www.yandex.com/dev/metrika/ru/data-import/date.md
  - href: en/data-import/date.md
    type: text/markdown
    title: Markdown version
  - href: ../llms.txt
    type: text/markdown
    title: llms.txt
---
> **Documentation Index:** Fetch the complete configuration index at https://www.yandex.com/dev/metrika/en/llms.txt

# Date and time format

{% note info %}

Yandex.Metrica does not support dates before January 1, 1970.

{% endnote %}

Yandex.Metrica supports the following date and time formats:

{% list tabs %}

- CSV file

  Date formats:
  
  #|
  || **Format** | **Example** ||
  || dd.MM.yyyy | 21.04.2020 ||
  || dd.MM.yy | 21.04.20 ||
  || yyyy-MM-dd | 2020-04-21 ||
  |#
  
  Date and time formats:
  
  #|
  || **Format** | **Example** ||
  || dd.MM.yyyy HH:mm:ss | 21.04.2020 11:59:21 ||
  || dd.MM.yy HH:mm | 21.04.20 11:59 ||
  || dd.MM.yyyy HH:mm | 21.04.2020 11:59 ||
  || dd.MM.yy HH:mm:ss | 21.04.20 11:59:21 ||
  || yyyy-MM-dd HH:mm:ss | 2020-04-21 11:59:21 ||
  || yyyy-MM-dd HH:mm | 2020-04-21 11:59 ||
  |#  

- JSON

  ISO_LOCAL_DATE format: yyyy-MM-dd. For example: 2020-04-21.
  
  Date and time format: yyyy-MM-dd HH:mm:ss. For example: 2020-04-21 11:59:2.

{% endlist %}

## Learn more

- [Customer data format](https://www.yandex.com/dev/metrika/en/data-import/contacts-data.md)
- [Order data format](https://www.yandex.com/dev/metrika/en/data-import/orders-data.md)
