AnsweredAssumed Answered

Arcade, Returning the Date for Time Enabled Data Frame

Question asked by lashmore_vce1 on Dec 7, 2018
Latest reply on Jan 7, 2019 by xander_bakker

Is it possible to use arcade to return the date that is currently being shown in a time enabled map? For instance, if I wanted to create an arcade formula that changed symbology based on the difference between the date that the feature was created and the year currently being displayed in the time slider (say the feature was created in 2001, and each year that passed on the slider I wanted the transparency to increase or size to decrease...slider year - 2001 ....)? Or if I had a pop-up, and wanted the current date of the time slider to be shown.


The only functions I've been able to find return the current date on the machine. Something like max($feature.<date_field>) also will not work, as the max function appears to query the data row, not the column.