<?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: Setting a date / datetime in SharePoint in Workato Pros Discussion Board</title>
    <link>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10260#M4092</link>
    <description>&lt;P&gt;Thank you for your reply, but it doesn't work on my SharePoint site.&lt;BR /&gt;I have tried to change the code, but still get the weird error from SharePoint. as stated in my first post.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="markup"&gt;MDIVDATE(MDIVDATE): 2025-05-16&lt;/LI-CODE&gt;&lt;P&gt;This is the input value i get after changing the value to below formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chrome_Vsn09FR8vj.png" style="width: 324px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2148i014E4A08D53C224A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="chrome_Vsn09FR8vj.png" alt="chrome_Vsn09FR8vj.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you have any suggestions on what can be the issue?&lt;/P&gt;</description>
    <pubDate>Thu, 19 Jun 2025 09:36:31 GMT</pubDate>
    <dc:creator>MichaelD</dc:creator>
    <dc:date>2025-06-19T09:36:31Z</dc:date>
    <item>
      <title>Setting a date / datetime in SharePoint</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10250#M4089</link>
      <description>&lt;P&gt;I have created a DateTime column in SharePoint, and told it to only show the date.&lt;/P&gt;&lt;P&gt;When I Update the field I get an exception, and I have tried just about anything I can think of.&lt;BR /&gt;I have tried hardcoding the date using the Date/Time picker in Workato, but it just wont work.&lt;BR /&gt;I have tried converting the date to the requested format, but after a little google search I found that the error message is pretty much standard.&lt;/P&gt;&lt;P&gt;What is the magic trick to get Workato to enter Dates into SharePoint?&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Below are screenshots, first is the value when entered with datepicker, second is the error message, and third is what is sent.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thumbnail_image004.png" style="width: 978px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2140i4F6658B0FADDC68E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="thumbnail_image004.png" alt="thumbnail_image004.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thumbnail_image005.png" style="width: 501px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2142iCEC49ED671882EAA/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="thumbnail_image005.png" alt="thumbnail_image005.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="thumbnail_image006.png" style="width: 817px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2143iC3EB4E86FAAF0D3D/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="thumbnail_image006.png" alt="thumbnail_image006.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 09:41:52 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10250#M4089</guid>
      <dc:creator>MichaelD</dc:creator>
      <dc:date>2025-06-18T09:41:52Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date / datetime in SharePoint</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10255#M4090</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;A class="" href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/12035" target="_self"&gt;&lt;SPAN class=""&gt;MichaelD&lt;/SPAN&gt;&lt;/A&gt;,&lt;BR /&gt;I see the date you hardcoded seems to be in format &lt;STRONG&gt;"mm-dd-yyyy"&lt;/STRONG&gt; and in the second photo you can see it is in the format &lt;STRONG&gt;"dd-mm-yyyy"&lt;/STRONG&gt; this can be a problem too&lt;BR /&gt;I created a DateTime column in SharePoint and set it to display only the date (excluding the time). I then updated a specific record by converting the DateTime (format &lt;STRONG&gt;"dd-mm-yyyy"&lt;/STRONG&gt;) value to just the date using the .to_date formula, and the row was successfully updated.&lt;/P&gt;&lt;P&gt;I hope this helps! I've attached screenshots below for your reference—please take a look.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-18 183837.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2145i3823699D34DE7423/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-06-18 183837.png" alt="Screenshot 2025-06-18 183837.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-18 183845.png" style="width: 200px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2146i100997CE36FC9E66/image-size/small/is-moderation-mode/true?v=v2&amp;amp;px=200" role="button" title="Screenshot 2025-06-18 183845.png" alt="Screenshot 2025-06-18 183845.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-18 183914.png" style="width: 400px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2147iA1A98967E52384E3/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="Screenshot 2025-06-18 183914.png" alt="Screenshot 2025-06-18 183914.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jun 2025 18:02:19 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10255#M4090</guid>
      <dc:creator>Bhagya_pola</dc:creator>
      <dc:date>2025-06-18T18:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date / datetime in SharePoint</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10260#M4092</link>
      <description>&lt;P&gt;Thank you for your reply, but it doesn't work on my SharePoint site.&lt;BR /&gt;I have tried to change the code, but still get the weird error from SharePoint. as stated in my first post.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;LI-CODE lang="markup"&gt;MDIVDATE(MDIVDATE): 2025-05-16&lt;/LI-CODE&gt;&lt;P&gt;This is the input value i get after changing the value to below formula.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="chrome_Vsn09FR8vj.png" style="width: 324px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2148i014E4A08D53C224A/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="chrome_Vsn09FR8vj.png" alt="chrome_Vsn09FR8vj.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Do you have any suggestions on what can be the issue?&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 09:36:31 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10260#M4092</guid>
      <dc:creator>MichaelD</dc:creator>
      <dc:date>2025-06-19T09:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date / datetime in SharePoint</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10263#M4093</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Try in this way&amp;nbsp;&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screenshot 2025-06-19 163948.png" style="width: 884px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2150i6242850784CB1696/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="Screenshot 2025-06-19 163948.png" alt="Screenshot 2025-06-19 163948.png" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jun 2025 11:12:05 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10263#M4093</guid>
      <dc:creator>Bhagya_pola</dc:creator>
      <dc:date>2025-06-19T11:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date / datetime in SharePoint</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10276#M4094</link>
      <description>&lt;LI-CODE lang="markup"&gt;MDIVDATE(MDIVDATE): 16/05/2025&lt;/LI-CODE&gt;&lt;P&gt;This is my input, and this is my error message:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;MDIVDATE: Enter a date like this: 23/02/2012&lt;/LI-CODE&gt;&lt;P&gt;I'm worried that it is our SharePoint Online that is broken, I really don't understand this error.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 08:00:57 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10276#M4094</guid>
      <dc:creator>MichaelD</dc:creator>
      <dc:date>2025-06-20T08:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date / datetime in SharePoint</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10278#M4095</link>
      <description>&lt;P&gt;This is definitely weird. Are you able to query a different DateTime field to see an example of how the API returns the value? The format might be different than all of the formats you've tried as input so far.&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jun 2025 16:15:34 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10278#M4095</guid>
      <dc:creator>gary1</dc:creator>
      <dc:date>2025-06-20T16:15:34Z</dc:date>
    </item>
    <item>
      <title>Re: Setting a date / datetime in SharePoint</title>
      <link>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10287#M4097</link>
      <description>&lt;P&gt;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/1188"&gt;@gary1&lt;/a&gt;&amp;nbsp; and&amp;nbsp;&lt;a href="https://systematic.workato.com/t5/user/viewprofilepage/user-id/11539"&gt;@Bhagya_pola&lt;/a&gt;&amp;nbsp; thank you for your input, I'm getting closer to a solution (I think).&lt;BR /&gt;As shown in the pictures below, they look much alike, the difference is automatic or manual date, and the manual works, and the automatic doesn't!&lt;BR /&gt;When I look at the input values, the one that works is 2025-06-10, but it turns out in SharePoint to be 6th of October, and not 10th of June. Hence I understand now why 2025-05-16 doesn't work, as it isn't a real date.&lt;/P&gt;&lt;P&gt;As it swaps the D and M, I thought it would be as easy as changing those values, so 16-05 swapped from 05-16&lt;/P&gt;&lt;P&gt;When hardcoding the date, I get this:&amp;nbsp;&lt;STRONG&gt;Data format error&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;in&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Microsoft Sharepoint&lt;/STRONG&gt;&lt;SPAN&gt;. Invalid Date/time for 'MDIVDATE(MDIVDATE)': '2025-16-05T00:00:00'.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;I tried to swap 2025-06-10 to 2025-10-06 as it went straight through.&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="working correct date" style="width: 513px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2161i37B2D62DED8294C0/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2025-06-23_11-00-15 working correct date.png" alt="working correct date" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;working correct date&lt;/span&gt;&lt;/span&gt;&lt;BR /&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Not working" style="width: 517px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2158iAE21C0F228B391BE/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2025-06-23_11-00-15 not working.png" alt="Not working" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Not working&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Working" style="width: 516px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2159iD9BE785156916EC6/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="2025-06-23_11-00-15 working.png" alt="Working" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Working&lt;/span&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Diff" style="width: 684px;"&gt;&lt;img src="https://systematic.workato.com/t5/image/serverpage/image-id/2160iD3760BB277C0A965/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="mstsc_2025-06-23_11-01-50.png" alt="Diff" /&gt;&lt;span class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;Diff&lt;/span&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 23 Jun 2025 09:21:24 GMT</pubDate>
      <guid>https://systematic.workato.com/t5/workato-pros-discussion-board/setting-a-date-datetime-in-sharepoint/m-p/10287#M4097</guid>
      <dc:creator>MichaelD</dc:creator>
      <dc:date>2025-06-23T09:21:24Z</dc:date>
    </item>
  </channel>
</rss>

