Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

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.