web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id : uxl96VxRhUR66eMGs785c/
Power Automate - Building Flows
Answered

Can't insert Date/time in format dd.MM.yyyy in SharePoint list

Like (0) ShareShare
ReportReport
Posted on 13 Jul 2023 10:20:13 by 62

Hi everyone!

I have a simple task. When a user receives an email, it is necessary to update the corresponding entries in the SharePoint list.

The SharePoint list contains a column ReportDay in the Date/Time format (only Date).

The problem is that I can't update the value of this column in the format dd.MM.yyyy. (for example 13.07.2023)

I can do it manually in the Sharepoint list. Through the application that I made in Power Apps- I can too. But via flow doesn't work.

Flow ends with an error: 

Action 'Update_item' failed
The 'inputs.parameters' of workflow operation 'Update_item' of type 'OpenApiConnection' is not valid. Error details: Input parameter 'item/ReportDay' is required to be of type 'String/date'. The runtime value '"13.07.2023"' to be converted doesn't have the expected format 'String/date'.

Tried a lot of things.
The last thing I tried.

Created a variable Today, then substituted into Compose action with Expression 

formatDateTime(variables('Today'),'dd.MM.yyyy')

kalakosha_0-1689242484681.png

, then substituted into Update item action

kalakosha_1-1689242668551.png

At the output get the folowing:

kalakosha_2-1689242812983.png

kalakosha_3-1689243191241.png

In the same time I can insert manualy date 13.07.2023 in ReportDay column in SharePoint list

kalakosha_4-1689243432129.png

What am I doing wrong?

Thanx in advance!

 

 

I have the same question (0)
  • tatmaninov Profile Picture
    104 on 13 Jul 2023 at 10:41:41
    Re: Can't insert Date/time in format dd.MM.yyyy in SharePoint list

    My guess is when you change the format in the flow you effectively change the date to a string and it is not recognised in the list anymore.  I think you just need to change the formatting of your list under column settings to change the way the date is shown in the list.

  • Verified answer
    ManishSolanki Profile Picture
    15,089 Super User 2025 Season 2 on 13 Jul 2023 at 10:42:18
    Re: Can't insert Date/time in format dd.MM.yyyy in SharePoint list

    Hi @kalakosha 

     

    Pls use the below expression for saving datetime column in SharePoint:

    formatDateTime(variables('Today'),'yyyy-MM-dd')

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

  • tatmaninov Profile Picture
    104 on 13 Jul 2023 at 10:58:48
    Re: Can't insert Date/time in format dd.MM.yyyy in SharePoint list

    Calculated column with these settings

    tatmaninov_0-1689245807321.png

    Achieves this;

    tatmaninov_1-1689245912606.png

     

  • Kalakosha Profile Picture
    62 on 13 Jul 2023 at 11:54:11
    Re: Can't insert Date/time in format dd.MM.yyyy in SharePoint list

    Hi and thank you for you help!

    Yes, your trick works.

    But the date value in the SharePoint list instead of 13.07.2023 is displayed as 12.07.2023.
    Although the flow tracking shows that the value is updated on 13.07.2023.

    kalakosha_0-1689248883086.png

    kalakosha_2-1689249110060.png

    But on SharePoint list I see

    kalakosha_3-1689249161922.png


    Is this a regional setting for the SharePoint site?

  • ManishSolanki Profile Picture
    15,089 Super User 2025 Season 2 on 13 Jul 2023 at 12:44:52
    Re: Can't insert Date/time in format dd.MM.yyyy in SharePoint list

    Hi @kalakosha 

     

    Yes, you are right but internally SharePoint stores datetime field in 'yyyy-MM-dd' format.

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

    Thanks

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 666 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 382 Moderator

#3
developerAJ Profile Picture

developerAJ 254

Last 30 days Overall leaderboard