Expand my Community achievements bar.

Join us for the next Community Q&A Coffee Break on Tuesday April 23, 2024 with Eric Matisoff, Principal Evangelist, Analytics & Data Science, who will join us to discuss all the big news and announcements from Summit 2024!
SOLVED

Is analytics t variable zero based?

Avatar

Level 1

According to http://microsite.omniture.com/t2/help/en_US/sc/implement/query_parameters.html, the t variable is in the format 

dd/mm/yyyy hh:mm:ss D OFFSET

When I look at the actual request made, it is 19/0/2015 11:1:5 1 480

Is the month January represented by the 0 or is that a bug in the library?

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Yes, January is 0 while December is 11. The debugger's friendly text correctly parses those values.

View solution in original post

3 Replies

Avatar

Correct answer by
Employee Advisor

Yes, January is 0 while December is 11. The debugger's friendly text correctly parses those values.

Avatar

Level 1

What about the other fields in the t variable (dd, yyyy, hh etc)? Are those also 0-based? Or just month?

Avatar

Employee Advisor

Strangely enough, it's just month that starts at 0. Everything else starts at 1.