Skip to main content

We want to do operations for event properties of date type. For example filtering by events with date-type event property that are more than a year ago (we use such properties for date-based filters for example). 

So far were were sending data in format of “YYYY-MM-DD” and Amplitude sees it as a string and doesn’t allow comparison operations. 

What format should I use, will changing to “YYYY-MM-DDTHH🇲🇲ss” help? 

Thanks! 

Hi ​@Mykyta Ka 

We ingest one of our user properties in the "date": "2024-12-01" format and I’m able to compare without any issues. Can you verify from your raw event data how the format is shown?


Reply