Date and time format

Note

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

Yandex.Metrica supports the following date and time formats:

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

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.

Learn more