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.

Dimension Name Relations Detailed description Description Appearance date
ym:s:year Year of visit !., !=, <, <=, =., ==, >, >= 2009-01-01
ym:s:month Month of visit !., !=, <, <=, =., ==, >, >= 2009-01-01
ym:s:dayOfMonth Day of month of visit !., !=, <, <=, =., ==, >, >= 2009-01-01
ym:s:dayOfWeek Day of week of visit !., !=, <, <=, =., ==, >, >= ym:s:dayOfWeekName 2009-01-01
ym:s:hour Hour of visit !., !=, <, <=, =., ==, >, >=

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

ym:s:hourName 2009-01-01
ym:s:minute Minute of visit !., !=, <, <=, =., ==, >, >= 2009-01-01
ym:s:dekaminute Decaminute of the session !., !=, <, <=, =., ==, >, >= 2009-01-01
ym:s:hourMinute Hour and minute of session !*, !., !=, !@, !~, <, <=, =*, =., ==, =@, =~, >, >= 2009-01-01