I’m am looking for some assistance using derived properties to calculate a new flag for Trialing Expired based on a string field and a date stamp field.
We have a user property for membershipStatus with a value of “trialing” and date/time field for Trial Expiration Date and Extended Trial Expiration Date formatted like this 2023-04-08T18:36:48.113Z. I want to leverage derived properties to determine if a user is Trialing Expired (true/false) based on the following:
membershipStatus = “trialing” AND
(Trial Expiration Date OR Extended Trial Expiration Date <= TODAY())
I think my underlying issues are with comparing the date fields to TODAY(). I have attempted leaving our Trial Expiration Date Field as is, along with converting them into a unix timestamp with both DATE_TO_LONG and TIME_TO_LONG to compare to TODAY(), but still running into issues.
Thank you!