HOW TO
The instructions in this article describe how to create an Attribute expression for your Map Viewer pop-ups which will display a date field using the UK date format (DD/MM/YYYY)
In Map Viewer Classic, it was possible to use Configure Pop-up > Configure Attributes to specify the display format for your date fields, as shown in the next image.
This option is not present in Map Viewer, so an Attribute expression must be used instead.
var DD = Day($feature.date) var months = Month($feature.date)+1 var MM = Iif(months<10,"0"+months,months) var YYYY = Year($feature.date) DD+"/"+MM+"/"+YYYY
Get help from ArcGIS experts
Download the Esri Support App