At times, the time field in an attribute table
is written in the 24-hour format and it is necessary to convert the string
values to the 12-hour format. However, it is time-consuming if the data
provided is large. This is resolved by using an Arcade expression. This video
provides the steps to convert the 24-hour format string values to a 12-hour
format using an Arcade expression in Portal for ArcGIS and ArcGIS Online Map
Viewer. Item 31194-2024