HOW TO

Display the current date in ArcGIS Dashboards

Last Published: April 17, 2025

Summary

In ArcGIS Dashboards, there is no built-in option to display the current time or date. Alternatively, the Text function in an Arcade expression can be used to configure the indicator element to display the current date, ensuring real-time awareness of the latest information. This enhances decision-making by providing up-to-date context, improving data accuracy, and streamlining monitoring processes.

This article describes the workflow for displaying the current date within an indicator element. The workflow provided is applicable in ArcGIS Dashboards in ArcGIS Online and ArcGIS Enterprise 11.4 and earlier.

Procedure

  1. In ArcGIS Dashboards, add the indicator element. Refer to ArcGIS Dashboards: Add elements for instructions.
  2. In the Select a layer dialog box, select a data source.
  3. On the Indicator configuration page, click the Indicator tab.
  4. On the Indicator tab, expand Settings if necessary, and click Enable for Advanced formatting.
  5. In the Advanced formatting window, modify the topText, middleText, or bottomText property to the following expression. In this example, the middleText property is modified to display the date as the middle text with the 'MMMM DD, YYYY' format.
middleText: Text(Now(), 'MMMM DD, YYYY'),

The image below shows the full working script example in the Advanced formatting window.

Full working script on how to add current date in the indicator element.
  1. Click Done.
  2. Click Save Save icon. > Save.

The dashboard below shows the indicator element displaying the current date.

The dashboard with the current date in the indicator element.

Article ID: 000035032

Software:
  • Portal for ArcGIS
  • ArcGIS Enterprise
  • ArcGIS Dashboards

Receive notifications and find solutions for new or common issues

Get summarized answers and video solutions from our new AI chatbot.

Download the Esri Support App

Related Information

Discover more on this topic

Get help from ArcGIS experts

Contact technical support

Download the Esri Support App

Go to download options