HOW TO
In ArcGIS Pro, a date field may contain both dates and timestamps. Sometimes, timestamps are not required when displaying a date field as a label. The timestamps can be removed from the date fields in the attribute table in ArcGIS Pro. However, this article provides an Arcade expression that allows displaying date fields in labels without timestamps while retaining the timestamps in the attribute table in ArcGIS Pro. In this example, the text field used in the expression is ‘Fire_Area’ while the date field used is ‘TestDate'.
Note: Ensure in the Contents pane the selected feature layer and feature class check boxes are checked to display the labels.
Note: The format of the dates can be configured as per preference. In this example, the date format used is M/D/Y.
$feature.<field_name> + " " + Text($feature.<field_name>, 'M/D/Y')
The image below shows labels displaying the date field without timestamps in ArcGIS Pro.
Get help from ArcGIS experts
Download the Esri Support App