How to calculate Ticket Age in days using Ticket Created Date in Zendesk Explore? | The place for Zendesk users to come together and share
Skip to main content
Contributor
July 13, 2026
Question

How to calculate Ticket Age in days using Ticket Created Date in Zendesk Explore?

  • July 13, 2026
  • 1 reply
  • 57 views

Hello everyone,

 

I’m trying to calculate Ticket Age (in days) in Zendesk Explore by finding the difference between the Ticket Created Date and the current date.

 

🎯 Requirement / Logic

I want to:

  • Subtract Ticket created date from Today’s date
  • Get the result as number of days (Ticket Age)

 

🔍 What I tried

DATE_DIFF(TODAY(), [Ticket created - Timestamp], "days")

 

❗ Issue

I’m getting the error:

“Invalid time unit for the given dates”

(Attached screenshot for reference)

 

✅ Ask

  • What is the correct formula to calculate Ticket Age in days in Zendesk Explore?
  • Which function and time unit should be used (DATEDIFF, DATE_DIFF, etc.)?
  • Should this be built as a standard calculated attribute or a metric?

 

Any working example or guidance would really help. Thanks in advance! 🙏

 

 

1 reply

Newcomer
July 13, 2026

Have you tried using something like this?

FLOOR(DATE_DIFF(NOW(), [Ticket Created - Timestamp], "nb_of_days"))