Is analytics t variable zero based? | Community
Skip to main content
This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Gigazelle

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

3 replies

Gigazelle
Adobe Employee
GigazelleAdobe EmployeeAccepted solution
Adobe Employee
October 16, 2015

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

October 16, 2015

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

Gigazelle
Adobe Employee
Adobe Employee
October 16, 2015

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