Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Add Date time to Sharepoint

(0) ShareShare
ReportReport
Posted on by 252

Hi All

 

I am looking to update a sharepoint list with Date/Time an action is completed.  The Column is specified as Date/Time.  Yet when I pass the value in my flow, using formatDateTime(utcNow(),'yyyy-MM-dd HH:mm'), it fails.  Anyone please advise where I am going wrong.

 

Thanks in Advance.

  • Chriddle Profile Picture
    Chriddle 7,300 on at
    Re: Add Date time to Sharepoint
    Like all date functions in Power Automate (except formatDateTime(), of course), convertFromUtc() returns a valid date/time string.
    But why would you want to do that? The Sharepoint connectors expect a datetime in UTC.
  • Skybluekid Profile Picture
    Skybluekid 252 on at
    Re: Add Date time to Sharepoint

    HI @Chriddle 

     

    Would this still work if I used convertfromutc?

  • Chriddle Profile Picture
    Chriddle 7,300 on at
    Re: Add Date time to Sharepoint

    Your datetime format has to be according to ISO-8601.

    Just use utcNow() without formatDateTime()

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,422

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,711

Leaderboard