Date/time fragment

Attention.

Access tokens will not be accepted in URL parameters starting February 13, 2019. To continue working with the Yandex.Metrica API, set up authorization by passing the token in the HTTP header.

The outdated authorization method will be temporarily disabled on January 23, January 30, and February 6 for maintenance. Authorization using URL parameters will be unavailable on these dates.

DimensionNameRelationsDetailed descriptionDescriptionAppearance date
ym:s:yearYear of visit!., !=, <, <=, =., ==, >, >=2009-01-01
ym:s:monthMonth of visit!., !=, <, <=, =., ==, >, >=2009-01-01
ym:s:dayOfMonthDay of month of visit!., !=, <, <=, =., ==, >, >=2009-01-01
ym:s:dayOfWeekDay of week of visit!., !=, <, <=, =., ==, >, >=ym:s:dayOfWeekName2009-01-01
ym:s:hourHour of visit!., !=, <, <=, =., ==, >, >=

Time ― expressed in the 24 hour format HH:MM.

ym:s:hourName2009-01-01
ym:s:minuteMinute of visit!., !=, <, <=, =., ==, >, >=2009-01-01
ym:s:dekaminuteDecaminute of the session!., !=, <, <=, =., ==, >, >=2009-01-01
ym:s:hourMinuteHour and minute of session!*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >=2009-01-01