Hi,
I would like to format my date/time labels in ArcGIS Online for a map but I can't seem to get the date/time field to display with an AM or PM afterwards.
I would like my field called assessment_date to display labels like this: 29 Oct 2023 - 8.35 AM
The following Arcade statement in my label expression does work but it doesn't show the AM or PM:
Text($feature["assessment_date"], 'DD MMM YYYY - h:mm')
I have tried Text($feature["assessment_date"], 'DD MMM YYYY - h:mm tt') thinking this would add the AM PM but it just displays as 29 Oct 2023 - 8.35 tt
Any ideas?
Thanks very much,