<?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 Re: updating Date Field not working in ArcGIS Connectors for Power Automate Questions</title>
    <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1272041#M181</link>
    <description>&lt;P&gt;For others that might be encountering this issue, here is a &lt;A href="https://community.esri.com/t5/arcgis-for-power-automate-blog/quick-tip-convert-epoch-time-to-a-human-readable/ba-p/1172794" target="_self"&gt;Quick Tip&lt;/A&gt; article on converting the date to something that can be human readable.&lt;/P&gt;</description>
    <pubDate>Mon, 27 Mar 2023 17:20:51 GMT</pubDate>
    <dc:creator>SeanKMcGinnis</dc:creator>
    <dc:date>2023-03-27T17:20:51Z</dc:date>
    <item>
      <title>updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1243445#M124</link>
      <description>&lt;P&gt;Hello&lt;/P&gt;&lt;P&gt;I have a flow in Power Automate that pull data from a Dataverse table, and update a hosted feature layer on AGOL. Everything seems to be working fine EXCEPT for my Date fields.&lt;/P&gt;&lt;P&gt;below is what is the payload form Dataverse&lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;"@odata.editLink": "cr3c3_coa_projectses(a85d55b7-1f82-ed11-81ac-000d3a37d89e)",&lt;BR /&gt;"cr3c3_coaprjstartdate@OData.Community.Display.V1.FormattedValue": "12/22/2022 6:00 AM",&lt;BR /&gt;"cr3c3_coaprjstartdate@odata.type": "#DateTimeOffset",&lt;BR /&gt;"cr3c3_coaprjstartdate": "2022-12-22T06:00:00Z",&lt;BR /&gt;"_cr3c3_coaemployee_value@OData.Community.Display.V1.FormattedValue": "Dominic Roberge",&lt;BR /&gt;"_cr3c3_coaemployee_value@Microsoft.Dynamics.CRM.associatednavigationproperty": "cr3c3_coaEmployee",&lt;BR /&gt;"_cr3c3_coaemployee_value@Microsoft.Dynamics.CRM.lookuplogicalname": "cr3c3_coa_stafflist",&lt;BR /&gt;"_cr3c3_coaemployee_value@odata.type": "#Guid",&lt;BR /&gt;"_cr3c3_coaemployee_value": "b302e0c1-2082-ed11-81ac-000d3a37dbf1",&lt;BR /&gt;"cr3c3_coa_projectsid@odata.type": "#Guid",&lt;BR /&gt;"cr3c3_coa_projectsid": "a85d55b7-1f82-ed11-81ac-000d3a37d89e",&lt;BR /&gt;"statecode@OData.Community.Display.V1.FormattedValue": "Active",&lt;BR /&gt;"statecode": 0,&lt;BR /&gt;"statuscode@OData.Community.Display.V1.FormattedValue": "Active",&lt;BR /&gt;"statuscode": 1,&lt;BR /&gt;"_createdby_value@OData.Community.Display.V1.FormattedValue": "Dominic Roberge",&lt;BR /&gt;"_createdby_value@Microsoft.Dynamics.CRM.lookuplogicalname": "systemuser",&lt;BR /&gt;"_createdby_value@odata.type": "#Guid",&lt;BR /&gt;"_createdby_value": "14855649-5267-ed11-9561-000d3a37d89e",&lt;BR /&gt;"cr3c3_coaprjname": "test revised no staff",&lt;BR /&gt;"timezoneruleversionnumber@OData.Community.Display.V1.FormattedValue": "4",&lt;BR /&gt;"timezoneruleversionnumber": 4,&lt;BR /&gt;"createdon@OData.Community.Display.V1.FormattedValue": "12/22/2022 5:40 PM",&lt;BR /&gt;"createdon@odata.type": "#DateTimeOffset",&lt;BR /&gt;"createdon": "2022-12-22T17:40:26Z",&lt;BR /&gt;"cr3c3_prjuid": "7",&lt;BR /&gt;}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;the 4th line has the data I am looking for to update my date field in AGOL. below is the error I am getting&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DominicRoberge2_0-1671741995548.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59193i95DF98EE418B08DA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DominicRoberge2_0-1671741995548.png" alt="DominicRoberge2_0-1671741995548.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DominicRoberge2_1-1671742084166.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/59194i4EAF9D9057853307/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DominicRoberge2_1-1671742084166.png" alt="DominicRoberge2_1-1671742084166.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;I have tried adding aFormatDateExpression (FormatDateTime(outputs('Get_a_row_by_ID')?['body/cr3c3_coaprjstartdate'],'MM-dd-yyyy')) but still no success.&lt;/P&gt;&lt;P&gt;Any help would be much appreciated.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Thu, 22 Dec 2022 20:51:45 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1243445#M124</guid>
      <dc:creator>DominicRobergeIADOT</dc:creator>
      <dc:date>2022-12-22T20:51:45Z</dc:date>
    </item>
    <item>
      <title>Re: updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1253344#M156</link>
      <description>&lt;P&gt;I solved the problem. I had to convert the INPUT date value to EPOCH using the following expression&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;div(sub(ticks(outputs(&lt;/SPAN&gt;&lt;SPAN&gt;'Get_a_row_by_ID'&lt;/SPAN&gt;&lt;SPAN&gt;)?[&lt;/SPAN&gt;&lt;SPAN&gt;'body/cr3c3_coaprjenddate'&lt;/SPAN&gt;&lt;SPAN&gt;]),ticks(&lt;/SPAN&gt;&lt;SPAN&gt;'1970-01-01Z00:00:00'&lt;/SPAN&gt;&lt;SPAN&gt;)),10000)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;This ArcGIS Connector is a game changer&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 31 Jan 2023 15:23:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1253344#M156</guid>
      <dc:creator>DominicRobergeIADOT</dc:creator>
      <dc:date>2023-01-31T15:23:25Z</dc:date>
    </item>
    <item>
      <title>Re: updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1269874#M180</link>
      <description>&lt;P&gt;Thank you&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/366436"&gt;@DominicRobergeIADOT&lt;/a&gt;, It's taken me about 3 hours to pin down this little bit of code to fix my problem.&amp;nbsp; &amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 21 Mar 2023 15:06:01 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1269874#M180</guid>
      <dc:creator>LiamHarrington-Missin</dc:creator>
      <dc:date>2023-03-21T15:06:01Z</dc:date>
    </item>
    <item>
      <title>Re: updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1272041#M181</link>
      <description>&lt;P&gt;For others that might be encountering this issue, here is a &lt;A href="https://community.esri.com/t5/arcgis-for-power-automate-blog/quick-tip-convert-epoch-time-to-a-human-readable/ba-p/1172794" target="_self"&gt;Quick Tip&lt;/A&gt; article on converting the date to something that can be human readable.&lt;/P&gt;</description>
      <pubDate>Mon, 27 Mar 2023 17:20:51 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1272041#M181</guid>
      <dc:creator>SeanKMcGinnis</dc:creator>
      <dc:date>2023-03-27T17:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1359360#M494</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/366436"&gt;@DominicRobergeIADOT&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/305712"&gt;@SeanKMcGinnis&lt;/a&gt;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;This is, I think, exactly what I need, however I am having a hard time applying it. Would either of you be able to help?&lt;/P&gt;&lt;P&gt;The initial trigger of this flow is a Survey123 submission. When certain criteria are met, then I get the matching parent record from a feature layer and convert the inspection date from the Survey123 form. Syntax for this conversion is working well: addSeconds('1970-1-1', Div(triggerBody()?['feature']?['attributes']?['INSPEC_DATE'], 1000), 'yyyy/MM/ddTHH:mm:ss')&lt;/P&gt;&lt;P&gt;I then use Compose to addDays to my converted dateTime. I am getting the interval from my feature layer. Again, this is workign well: addDays(body('Convert_Inspection_Date'),int(items('Apply_to_each')?['Attributes/PHASE_I_INTERVAL']),'yyyy/MM/ddTHH:mm:ss')&lt;/P&gt;&lt;P&gt;I was initially trying to write the outputs from Compose directly to my date attribute field in the bottom "update a record in a feature layer", however I am getting an error when I try this. I stumbled across this post and I think the conversion back to Epoch time is exactly what I need, but can't get it to implement. Here is what I am trying:&amp;nbsp;div(sub(ticks(outputs('Compose')?['body/Compose']),ticks('1970-01-01Z00:00:00')),10000)&lt;/P&gt;&lt;P&gt;This results in this error:&amp;nbsp;&lt;STRONG&gt;InvalidTemplate&lt;/STRONG&gt;&lt;SPAN&gt;. Unable to process template language expressions in action 'Update_a_record_in_a_feature_layer' inputs at line '0' and column '0': 'The template language expression 'div(sub(ticks(outputs('Compose')?['body/Compose']),ticks('1970-01-01Z00:00:00')),10000)' cannot be evaluated because property 'body/Compose' cannot be selected. Property selection is not supported on values of type 'String'. Please see &lt;A href="https://aka.ms/logicexpressions" target="_blank" rel="noopener"&gt;https://aka.ms/logicexpressions&lt;/A&gt; for usage details.'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Any advice?&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_poisson_0-1702327422508.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88677i57BB8E2311AFFB52/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_poisson_0-1702327422508.png" alt="erica_poisson_0-1702327422508.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="erica_poisson_1-1702327662522.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88678iC01EABD5FB8399F7/image-size/medium?v=v2&amp;amp;px=400" role="button" title="erica_poisson_1-1702327662522.png" alt="erica_poisson_1-1702327662522.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 11 Dec 2023 20:48:11 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1359360#M494</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2023-12-11T20:48:11Z</dc:date>
    </item>
    <item>
      <title>Re: updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1359897#M495</link>
      <description>&lt;P&gt;Hi Erica, can you show us what you are getting as output from the Apply Each and Compose when you run the flow?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 20:04:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1359897#M495</guid>
      <dc:creator>DominicRobergeIADOT</dc:creator>
      <dc:date>2023-12-12T20:04:42Z</dc:date>
    </item>
    <item>
      <title>Re: updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1359913#M496</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/366436"&gt;@DominicRobergeIADOT&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/305712"&gt;@SeanKMcGinnis&lt;/a&gt;&amp;nbsp; -&lt;/P&gt;&lt;P&gt;Sure, here are the outputs. First is that output from ArcGIS Connector "Get Phase 1 Inspection Interval from Feature Layer".&lt;/P&gt;&lt;LI-CODE lang="javascript"&gt;{
    "statusCode": 200,
    "headers": {
        "offset": 1,
        "hasMoreData": "no",
        "Timing-Allow-Origin": "*",
        "x-ms-apihub-cached-response": "false",
        "x-ms-apihub-obo": "false",
        "Date": "Mon, 11 Dec 2023 20:38:00 GMT",
        "ETag": "W/\"342-jBGiEo2buRqe7BgtiCHbyLsmGbM\"",
        "X-Powered-By": "Express",
        "Content-Length": "834",
        "Content-Type": "application/json; charset=utf-8"
    },
    "body": {
        "data": [
            {
                "attributes": {
                    "OBJECTID": 45,
                    "NAT_ID": "MA99999",
                    "DAM_NAME": "Erica's Dam",
                    "DAM_LOCATION": "Hubbardston",
                    "DAM_TYPE": "Concrete",
                    "DAM_OTH": null,
                    "YEAR_BUILT": 2500,
                    "WATERSHED": "Quabbin",
                    "OWNER": null,
                    "CARETAKER": null,
                    "JURISDICTIONAL": "Y",
                    "PHASE_I_INTERVAL": 730,
                    "LAST_PHASE_I": 1639242000000,
                    "SCHED_PHASE_I_INSPEC": 1702314000000,
                    "SIZE_CLASS": "Small",
                    "HAZARD_CLASS": "Class I",
                    "HEIGHT_FT": null,
                    "LENGTH_FT": null,
                    "CAPACITY_AcFt": null,
                    "CREST_ELEV_FT": null,
                    "SPILLWAY_ELEV_FT": null,
                    "SPILLWAY_WIDTH_FT": null,
                    "ELEV_REFERENCE": null,
                    "OUTLET_TYPE": null,
                    "ROUTINE_INSPEC_INTERVAL": null,
                    "LAST_ROUTINE_INSPEC": null,
                    "ADD_COMMENTS": "TEST ONLY ERICA WILL DELETE WHEN DONE",
                    "DAM_FILES": null,
                    "GlobalID": "24b4e810-f399-4146-88cd-919c82b2a459",
                    "CreationDate": 1702320093451,
                    "Creator": "DWSP_erica.tefft",
                    "EditDate": 1702320597270,
                    "Editor": "DWSP_erica.tefft"
                }
            }
        ]
    }
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Next, here is the output from "Compose":&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;"2025/12/10T18:47:00"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Please&amp;nbsp; let me know if that helps/is what you were looking for.&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you for your help!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 12 Dec 2023 20:38:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1359913#M496</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2023-12-12T20:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1359931#M497</link>
      <description>&lt;P&gt;Could you try to add another Compose and put the expression to convert to epoch to see if that works. Then you would put the result of the new Compose into the &lt;SPAN&gt;'Update_a_record_in_a_feature_layer'. Just to make sure you are getting the correct epoch value. Just an idea...&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 12 Dec 2023 20:51:52 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1359931#M497</guid>
      <dc:creator>DominicRobergeIADOT</dc:creator>
      <dc:date>2023-12-12T20:51:52Z</dc:date>
    </item>
    <item>
      <title>Re: updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1360451#M498</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/366436"&gt;@DominicRobergeIADOT&lt;/a&gt;&amp;nbsp;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/305712"&gt;@SeanKMcGinnis&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for the suggestion. When I try either of these in a new Compose, I get "Invalid statement" and can't apply the expression:&lt;/P&gt;&lt;P&gt;div(sub(ticks(outputs('Get_Phase_1_Inspection_Interval_from_Feature_Layer')?['body/data'],ticks('1970-01-01Z00:00:00')),10000)&lt;/P&gt;&lt;P&gt;div(sub(ticks(outputs('Compose'),ticks('1970-01-01Z00:00:00')),10000)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 17:49:55 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1360451#M498</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2023-12-13T17:49:55Z</dc:date>
    </item>
    <item>
      <title>Re: updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1360512#M499</link>
      <description>&lt;P&gt;I think you might be missing something in your first expression (you are not referring the attribute section). In your case it's probably: Body/data/attributes/FIELDNAME&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is a sample of a breakdown&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DominicRoberge2_6-1702492794406.png" style="width: 668px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88936iC3B0E262B010824F/image-dimensions/668x261?v=v2" width="668" height="261" role="button" title="DominicRoberge2_6-1702492794406.png" alt="DominicRoberge2_6-1702492794406.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;below is another example I have:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DominicRoberge2_1-1702492569267.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88931i2A1EBC1F94EFB14D/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DominicRoberge2_1-1702492569267.png" alt="DominicRoberge2_1-1702492569267.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DominicRoberge2_2-1702492579217.png" style="width: 400px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88932iF4C7CC1089FBD3A2/image-size/medium?v=v2&amp;amp;px=400" role="button" title="DominicRoberge2_2-1702492579217.png" alt="DominicRoberge2_2-1702492579217.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DominicRoberge2_3-1702492593624.png" style="width: 485px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88933i15DA6CE1BA089440/image-dimensions/485x108?v=v2" width="485" height="108" role="button" title="DominicRoberge2_3-1702492593624.png" alt="DominicRoberge2_3-1702492593624.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DominicRoberge2_4-1702492611016.png" style="width: 481px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88934iBB331D50D5195F89/image-dimensions/481x83?v=v2" width="481" height="83" role="button" title="DominicRoberge2_4-1702492611016.png" alt="DominicRoberge2_4-1702492611016.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="DominicRoberge2_5-1702492628352.png" style="width: 517px;"&gt;&lt;img src="https://community.esri.com/t5/image/serverpage/image-id/88935i9ABD9A6659B0305B/image-dimensions/517x288?v=v2" width="517" height="288" role="button" title="DominicRoberge2_5-1702492628352.png" alt="DominicRoberge2_5-1702492628352.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;hope this help (and not confuse you more&amp;nbsp;&amp;nbsp;&lt;span class="lia-unicode-emoji" title=":beaming_face_with_smiling_eyes:"&gt;😁&lt;/span&gt;)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 18:44:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1360512#M499</guid>
      <dc:creator>DominicRobergeIADOT</dc:creator>
      <dc:date>2023-12-13T18:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: updating Date Field not working</title>
      <link>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1360598#M500</link>
      <description>&lt;P&gt;&lt;a href="https://community.esri.com/t5/user/viewprofilepage/user-id/366436"&gt;@DominicRobergeIADOT&lt;/a&gt;&amp;nbsp; that was so helpful! Thank you for those detailed images and also your patience with me! Here was what I ended up doing:&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;div(sub(ticks(addDays(body(&lt;/SPAN&gt;&lt;SPAN&gt;'Convert_Inspection_Date'&lt;/SPAN&gt;&lt;SPAN&gt;),int(items(&lt;/SPAN&gt;&lt;SPAN&gt;'Apply_to_each'&lt;/SPAN&gt;&lt;SPAN&gt;)?[&lt;/SPAN&gt;&lt;SPAN&gt;'Attributes/PHASE_I_INTERVAL'&lt;/SPAN&gt;&lt;SPAN&gt;]),&lt;/SPAN&gt;&lt;SPAN&gt;'yyyy/MM/ddTHH:mm:ss'&lt;/SPAN&gt;&lt;SPAN&gt;)),ticks(&lt;/SPAN&gt;&lt;SPAN&gt;'1970-01-01Z00:00:00'&lt;/SPAN&gt;&lt;SPAN&gt;)),10000)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Instead of adding a second Compose, I just updated my original Compose which was using the "addDays" function and nested that inside your EPOCH conversion. The I used outputs from Compose within my ArcGIS "Update a record in a feature layer". It worked perfectly when I tested!&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Thank you so much!&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 13 Dec 2023 20:47:36 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-connectors-for-power-automate-questions/updating-date-field-not-working/m-p/1360598#M500</guid>
      <dc:creator>erica_poisson</dc:creator>
      <dc:date>2023-12-13T20:47:36Z</dc:date>
    </item>
  </channel>
</rss>

