**bleep** oeveryone,
Is there a way to format a date filed in a Popup window in a WebMap?
I would like to display only month and year (MM/YYYY)
Thanks
You could use an Arcade Expresison to do that work. Example:
var theDate = Now();
var theMonth = Month(theDate) + 1; //Month() returns a value 0-11 so add 1 to it
return theMonth + '/' + Year(theDate);
If you want just name of the month and year ( May 2022 ), that is built in to the popup configuration in the Classic map viewer, and the fields tab in the new map viewer.
R_
Thank you.
How do I check for null values in arcade?