<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Date/Time Labels in ArcGIS Online - adding AM or PM for labels in ArcGIS Online Questions</title>
    <link>https://community.esri.com/t5/arcgis-online-questions/date-time-labels-in-arcgis-online-adding-am-or-pm/m-p/1343105#M55404</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to format my date/time labels in ArcGIS Online for a map but I can't seem to get the date/time field to display with an AM or PM afterwards.&lt;/P&gt;&lt;P&gt;I would like my field called assessment_date to display labels like this: 29 Oct 2023 - 8.35 AM&lt;/P&gt;&lt;P&gt;The following Arcade statement in my label expression does work but it doesn't show the AM or PM:&lt;/P&gt;&lt;P&gt;Text($feature["assessment_date"], 'DD MMM YYYY - h:mm')&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp;Text($feature["assessment_date"], 'DD MMM YYYY - h:mm tt') thinking this would add the AM PM but it just displays as 29 Oct 2023 - 8.35 tt&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks very much,&lt;/P&gt;</description>
    <pubDate>Sun, 29 Oct 2023 08:55:48 GMT</pubDate>
    <dc:creator>karyn_rosa123</dc:creator>
    <dc:date>2023-10-29T08:55:48Z</dc:date>
    <item>
      <title>Date/Time Labels in ArcGIS Online - adding AM or PM for labels</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/date-time-labels-in-arcgis-online-adding-am-or-pm/m-p/1343105#M55404</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I would like to format my date/time labels in ArcGIS Online for a map but I can't seem to get the date/time field to display with an AM or PM afterwards.&lt;/P&gt;&lt;P&gt;I would like my field called assessment_date to display labels like this: 29 Oct 2023 - 8.35 AM&lt;/P&gt;&lt;P&gt;The following Arcade statement in my label expression does work but it doesn't show the AM or PM:&lt;/P&gt;&lt;P&gt;Text($feature["assessment_date"], 'DD MMM YYYY - h:mm')&amp;nbsp;&lt;/P&gt;&lt;P&gt;I have tried&amp;nbsp;Text($feature["assessment_date"], 'DD MMM YYYY - h:mm tt') thinking this would add the AM PM but it just displays as 29 Oct 2023 - 8.35 tt&lt;/P&gt;&lt;P&gt;Any ideas?&lt;/P&gt;&lt;P&gt;Thanks very much,&lt;/P&gt;</description>
      <pubDate>Sun, 29 Oct 2023 08:55:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/date-time-labels-in-arcgis-online-adding-am-or-pm/m-p/1343105#M55404</guid>
      <dc:creator>karyn_rosa123</dc:creator>
      <dc:date>2023-10-29T08:55:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time Labels in ArcGIS Online - adding AM or PM for labels</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/date-time-labels-in-arcgis-online-adding-am-or-pm/m-p/1343112#M55406</link>
      <description>&lt;P&gt;Alter your expression to this&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Text&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;$feature&lt;/SPAN&gt;&lt;SPAN&gt;[&lt;/SPAN&gt;&lt;SPAN&gt;"Date_Time"&lt;/SPAN&gt;&lt;SPAN&gt;], &lt;/SPAN&gt;&lt;SPAN&gt;"DD/MM/Y h:mm A"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RussRoberts_0-1698582937198.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/84390i39258EDA7630C83A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RussRoberts_0-1698582937198.png" alt="RussRoberts_0-1698582937198.png" /&gt;&lt;/span&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sun, 29 Oct 2023 12:36:48 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/date-time-labels-in-arcgis-online-adding-am-or-pm/m-p/1343112#M55406</guid>
      <dc:creator>RussRoberts</dc:creator>
      <dc:date>2023-10-29T12:36:48Z</dc:date>
    </item>
    <item>
      <title>Re: Date/Time Labels in ArcGIS Online - adding AM or PM for labels</title>
      <link>https://community.esri.com/t5/arcgis-online-questions/date-time-labels-in-arcgis-online-adding-am-or-pm/m-p/1343693#M55460</link>
      <description>&lt;P&gt;Thanks very much Russ! That works perfectly.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It would be great if that could be added to the online help files (if not already there).&amp;nbsp; I couldn't see any reference to it in:&amp;nbsp;&amp;nbsp;&lt;A href="https://doc.arcgis.com/en/arcgis-online/manage-data/work-with-date-fields.htm" target="_blank"&gt;https://doc.arcgis.com/en/arcgis-online/manage-data/work-with-date-fields.htm&lt;/A&gt;&amp;nbsp;but it is referred to in the ArcGIS Online Dashboards documentation I see now.&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 31 Oct 2023 08:21:08 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-online-questions/date-time-labels-in-arcgis-online-adding-am-or-pm/m-p/1343693#M55460</guid>
      <dc:creator>karyn_rosa123</dc:creator>
      <dc:date>2023-10-31T08:21:08Z</dc:date>
    </item>
  </channel>
</rss>

