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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / date format issue to I...
Power Automate
Suggested Answer

date format issue to ISO 8601

(0) ShareShare
ReportReport
Posted on by 353
I have a flow that collects data from a completed docusign document. Part f the data is a dat in UK format 
  "Employers Liability Insurance Expiry": "04/10/2024",
I need to add this to a sharepoint list date column. I understand it needs to be in  ISO 8601 format for this to work. 

I have tried the following 
formatDateTime(body('Parse_JSON')?['Public Liability Expiry'], 'yyyy-MM-ddTHH:mm:ssZ')
 
but it outputs the date as 
2024-04-10T00:00:00Z
(month and day are reversed)
Categories:
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,138 Super User 2026 Season 1 on at
    Hi,
     
    Try like this
     
    formatDateTime(parseDateTime(body('Parse_JSON')?['Public Liability Expiry'],'','dd/MM/yyyy'),'yyyy-MM-ddTHH:mm:ssZ')
     
     
  • Suggested answer
    Pstork1 Profile Picture
    69,665 Most Valuable Professional on at
    Instead of FormatDateTime() you should be using ParseDateTime() so you can specify the locale of the input date.  Try this
     
    parseDateTime('04/10/2024', 'en-GB')
     
     
  • nick9one1 Profile Picture
    353 on at
    thanks
  • David_MA Profile Picture
    15,705 Super User 2026 Season 2 on at
    What Pstork1 suggested below should work for you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
11manish Profile Picture

11manish 321 Super User 2026 Season 2

#2
Mohsin Ali Profile Picture

Mohsin Ali 271

#3
Henil Profile Picture

Henil 115

Last 30 days Overall leaderboard