HOW TO
In ArcGIS Online and the ArcGIS Enterprise portal, the timestamps can be removed using an Arcade expression when displaying a date field as labels. 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 web map below displays the date field labels with timestamps to be removed using the following workflow.

. Ensure labels are enabled by toggling on the Enable labels option.
.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 web map below displays the date field labels without the timestamps.

Article ID: 000030241
Get help from ArcGIS experts
Start chatting now