How do I reference today's date when creating a sample? | XM Community
Skip to main content

I stored a follow-up survey date in my distribution list and I want to create a sample where the stored date is equals to today’s date. However, none of the date operators seems to be straightforward for me to do so.

 

Is there a way to create a sample based on today’s date without stating a specific date?  (this is because I want to later incorporate this into a scheduled workflow that will run daily)

 

 

The most closest you can go is by using in the past 1 days as the filter criteria. But make sure the date filed you are using is in ISO-8601 format, with times in UTC. (I.e., YYYY-MM-DDT-HH🇲🇲ss+ZZZZ 


The most closest you can go is by using in the past 1 days as the filter criteria. But make sure the date filed you are using is in ISO-8601 format, with times in UTC. (I.e., YYYY-MM-DDT-HH🇲🇲ss+ZZZZ 

Thanks! The date stored in my distribution list is piped via embedded data ${date://OtherDate/DS/+1%20day}.  I do not need the time.  The date is shown as 2024-1-2.  Any way I can store the date as 2024-01-02 instead?


Leave a Reply