Is there any way to reference the time of an event in a derived property formula?
I am trying to create a derived property that calculates the difference in time between a date in a user property (the users account creation date) and the date of the event being measured. I have gotten it to work using the TODAY() function, but I can’t seem to find any way to reference the event time itself. TODAY() only works if looking at the last N days, but I can’t use it to create historical trends.
Thanks
DIVIDE(<br /> MINUS(<br /> TODAY()<br /> ,<br /> DATE_TO_LONG(<br /> REGEXEXTRACT(<br /> PROPERTY(<br /> 'first_insert_date',<br /> 'user'<br /> ),<br /> "^\d{4}-\d{2}-\d{2}"<br /> )<br /> )<br /> ),<br /> 86400000<br />)