I am trying to use the Arcade "date" function in an expression for a popup to return the day, month, year but without the time. Well actually would like to lose the day of the week too. The documentation I refer to the time as an "optional" field:
IIf(IsEmpty($feature.InspDt), Date($feature.PrevInspDt), Date($feature.InspDt))
Returns this...
"Thu Mar 21 2019 20:00:00 GMT-0400 (Eastern Daylight Time)"
So our archived time data is all mucked up and for our purposes we only really need month, day, year anyway. Is there something I can add to this Arcade Date function so that it returns the date but without the "20:00:00 GMT-0400 (Eastern Daylight Time)", and ideally without the day of the week "Thu" portion as well??
Thank you!
arcgis online arcade
arcade attribute expressions
#arcade pop-ups