Let's POWER Automate

From no-code to low-code

Menu
  • Expressions
  • Filters
  • General
  • Application specific solutions
    • Dataverse
    • Excel
    • Forms
    • Outlook
    • Planner
    • Power Apps
    • SharePoint
    • Teams
  • Triggers
  • Ready to use solutions
    • Approval Process Solution
    • Task Delegation App
    • The Ultimate Power Automate expressions cheat sheet
    • Power Automate HTTP requests to SharePoint cheat sheet
    • Power Automate HTTP requests to Graph API cheat sheet
  • ABOUT ME
  • Get help with your flow
  • POWER PLATFORM SERVICES
Menu

Update single Date and Time SharePoint column with Power Automate

Posted on November 24, 2021December 4, 2022 by Tom

“Is there a way to update only a single Date and Time SharePoint column with Power Automate without filling all the mandatory fields in the ‘Update item’ action?”


When you update the SharePoint Date and Time column with Power Automate, you’ve got multiple options. One of them is to use the ‘Update item’ action. The action that will force you to fill out again all the mandatory columns just to update a single date. Or you can do an update via HTTP request to update the column directly. But what you might notice is that the HTTP update doesn’t like the ISO date time format. If you use it, you’ll see a green checkmark at the action, but it won’t update the date. ‘You must specify a valid date within the range of 01/01/1900 and 31/12/8900.’

Power Automate update single date SharePoint

HTTP request to update a Date (and Time) column

Unlike the standard ‘Update item’ action, HTTP request doesn’t accept the ISO formatted date. Instead, it wants the month first, then the day, and year is the last. And the funny part is, it doesn’t care about the separator. You can use any of the formats below, and maybe even more. The important part is to keep the order – day, month, year.

MM/dd/yyyy
MM-dd-yyyy
MM.dd.yyyy

Using the same HTTP request as many times before…

Method: POST

Uri: _api/web/lists/GetByTitle('<ListName>')/items(<ItemID>)/validateUpdateListItem

Body:
{
    "formValues":[
	{
	    "FieldName": "<FieldToUpdate>",
	    "FieldValue": "<ValueToUpdate>"
	}
    ]
}

… the Body part might look as below:

{
    "formValues":[
	{
	    "FieldName": "DateAndTime",
	    "FieldValue": "utcNow('MM/dd/yyyy HH:mm')"
	}
    ]
}

Note: the whole utcNow(…) part in the example above is an expression.

Power Automate update single date SharePoint

Such HTTP request will get the result you want to see – no error code, no error message.

Summary

If you use the HTTP request to update a single SharePoint date column with Power Automate, you should always check the request result. If it doesn’t like the input, it won’t fail (unless it’s terribly wrong). The flow will tell you it was successful, but nothing will be updated. And that’s especially true if you update the date column. If you don’t use the right format, e.g. dd/MM/yyyy, your flow can run for a long time until you notice it’s not working.


🚀 Master Power Automate

Join 2,000+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

11 thoughts on “Update single Date and Time SharePoint column with Power Automate”

  1. Flávio Neto says:
    April 12, 2022 at 5:46 pm

    This is exactly what I need to do, and have struggle to get to work, but I’m still getting a “Input string was not in a correct format.”

    My input string, I think is:

    _api/web/lists/getbytitle(‘TeamsUsage_2022-01-03_2022-04-02’)/items(‘TodayDate’)/validateUpdateListItem

    TodayDate is the internal name of the column and TeamsUsage_2022-01-03_2022-04-02 is the name of the list, so I am at a loss how to format it correctly.

    Any ideas?

    Sorry, totally a newbie.

    Reply
    1. Tom says:
      April 13, 2022 at 2:45 pm

      Hello Flavio,
      in the brackets in the items(…) should be the ID of the item you’re trying to update. The column is specified in the request Body.

      Reply
  2. Antony says:
    December 21, 2022 at 1:32 pm

    Hello,
    That’s exactly what I need.
    But instead of entering a new value in the column, I just want to update the column value by itself.

    How can I do this?

    Reply
    1. Tom says:
      January 9, 2023 at 3:56 pm

      Hello Antony,
      if the value should stay the same then why even bother updating the column?

      Reply
      1. Antony says:
        January 24, 2023 at 1:13 pm

        Because there is a calculated column that is updated according to the date of this column that I wanted to update via http.

        Reply
        1. Tom says:
          February 9, 2023 at 9:21 pm

          Hello Antony,
          then get the original value (from a trigger or using ‘Get items’, depending on your flow), format it in the correct format: https://tomriha.com/how-to-format-date-in-a-readable-user-friendly-way-in-power-automate/ and update it in the item. But if it’s just to show some number I’d rather use JSON formatting than updating every item every day: https://tomriha.com/calculate-with-todays-date-in-sharepoint-column-without-daily-updates/

          Reply
  3. Tom Benjamin says:
    August 8, 2023 at 12:02 am

    These posts on using the HTTP request to update list items are great! I have a question about the time element: is possible to add seconds, or does the format have to be ‘MM/dd/yyyy HH:mm’?
    I tried ‘MM/dd/yyyy HH:mm:ss’ but got the “You must specify a valid date format…” error

    Reply
    1. Tom says:
      September 7, 2023 at 12:10 pm

      Hello Tom,
      adding :ss is exactly what I’d do, but if the action doesn’t like then I guess it can’t update seconds.

      Reply
  4. Steve says:
    September 29, 2023 at 5:36 pm

    I found that getting the list by ID vs title worked, I kept getting errors saying my list didn’t exist, so someone probably changed the list title at some point.

    _api/web/lists/getByID(‘xxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx’)/items(ID)/validateUpdateListItem

    Reply
  5. Mudassir says:
    October 19, 2023 at 12:27 pm

    I am trying to update a date field as empty when there is no value but it is giving an error. Any way I can update an empty value in date field.

    Reply
    1. Tom says:
      November 19, 2023 at 1:45 pm

      Hello Mudassir,
      it should work if you send it just “” as the value.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

🚀 Master Power Automate

Join 2,000+ professionals getting actionable Power Automate tutorials, solutions, cheat sheets & tips every week.

No spam. Unsubscribe anytime.

Still exchanging emails to get things approved?

Get the Approval Process solution and the Task Delegation App to skip the hard part and deploy an automated, fully functional approval solution on a SharePoint list in minutes! And then the next one, and the next one...

Approval Template Preview ✨ Learn more ✨

Turn ideas into flows with ease!

Grab the complete Power Automate Cheat Sheet Bundle—everything you need to master expressions, SharePoint HTTP calls, and Graph API in Power Automate.

Cheat Sheet Bundle Preview ✨ Get the Cheat Sheets

Didn't find what you were looking for?
Need to adjust a solution to fit your needs?
Or would you just like to get an assistance from somebody with thousands of hours of experience with Power Automate?

Power Automate blogs worth visiting

Damien Bird
Dennis (Expiscornovus)
Paul Murana

©2025 Let's POWER Automate | Theme by SuperbThemes