<?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 field in Field Maps form fails to calculate in ArcGIS Field Maps Questions</title>
    <link>https://community.esri.com/t5/arcgis-field-maps-questions/date-field-in-field-maps-form-fails-to-calculate/m-p/1174380#M3441</link>
    <description>&lt;P&gt;I want to autocalculate my date field to 'today' in the Field Maps web app form. I have set this express and the test returns the result I want. However when I save the form and open it in the Field Maps mobile app it shows the error "Failed to calculate" and when try to edit in the web map, the map hangs up.&amp;nbsp; Would it matter that the layer has existing records?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JanetSilb_Spike_0-1652740424197.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41453iB789EA5897280AE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JanetSilb_Spike_0-1652740424197.png" alt="JanetSilb_Spike_0-1652740424197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 16 May 2022 22:34:21 GMT</pubDate>
    <dc:creator>JanetSilb_Spike</dc:creator>
    <dc:date>2022-05-16T22:34:21Z</dc:date>
    <item>
      <title>Date field in Field Maps form fails to calculate</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/date-field-in-field-maps-form-fails-to-calculate/m-p/1174380#M3441</link>
      <description>&lt;P&gt;I want to autocalculate my date field to 'today' in the Field Maps web app form. I have set this express and the test returns the result I want. However when I save the form and open it in the Field Maps mobile app it shows the error "Failed to calculate" and when try to edit in the web map, the map hangs up.&amp;nbsp; Would it matter that the layer has existing records?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="JanetSilb_Spike_0-1652740424197.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/41453iB789EA5897280AE5/image-size/medium?v=v2&amp;amp;px=400" role="button" title="JanetSilb_Spike_0-1652740424197.png" alt="JanetSilb_Spike_0-1652740424197.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 May 2022 22:34:21 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/date-field-in-field-maps-form-fails-to-calculate/m-p/1174380#M3441</guid>
      <dc:creator>JanetSilb_Spike</dc:creator>
      <dc:date>2022-05-16T22:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: Date field in Field Maps form fails to calculate</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/date-field-in-field-maps-form-fails-to-calculate/m-p/1174590#M3467</link>
      <description>&lt;P&gt;I think it is getting confused passing two values to the expression (current value of Monitoring_Date field, and Todays date)&lt;/P&gt;&lt;P&gt;Since this is set on the field to calculate, you only need to return the date.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Today()&lt;/LI-CODE&gt;&lt;P&gt;Though, I have seen where people have issue with this and using Now() seems to work better.&lt;/P&gt;&lt;LI-CODE lang="c"&gt;Now()&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;R_&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 15:00:34 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/date-field-in-field-maps-form-fails-to-calculate/m-p/1174590#M3467</guid>
      <dc:creator>RhettZufelt</dc:creator>
      <dc:date>2022-05-17T15:00:34Z</dc:date>
    </item>
    <item>
      <title>Re: Date field in Field Maps form fails to calculate</title>
      <link>https://community.esri.com/t5/arcgis-field-maps-questions/date-field-in-field-maps-form-fails-to-calculate/m-p/1174673#M3469</link>
      <description>&lt;P&gt;Thanks&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/15530"&gt;@RhettZufelt&lt;/a&gt;&amp;nbsp;- that did in fact work!&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 17 May 2022 17:09:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-field-maps-questions/date-field-in-field-maps-form-fails-to-calculate/m-p/1174673#M3469</guid>
      <dc:creator>JanetSilb_Spike</dc:creator>
      <dc:date>2022-05-17T17:09:24Z</dc:date>
    </item>
  </channel>
</rss>

