HOW TO
In ArcGIS Online and Portal for ArcGIS Map Viewer, when displaying a date field as labels, the timestamps can be removed using an Arcade expression. This is useful when displaying a date field without timestamps while retaining the timestamps in the attribute table.
In this example, the date field used is named ‘TestDate'. The image below shows labels displaying the date field with timestamps on the web map.
Note: The format of the dates can be configured as per preference. In this example, the date format used is Y-MM-DD.
Text($feature.<field_name>, 'Y-MM-DD')
The image below shows labels displaying the date field without timestamps on the web map.
Get help from ArcGIS experts
Download the Esri Support App