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 :
Power Automate - Building Flows
Suggested answer

date format issue to ISO 8601

(0) ShareShare
ReportReport
Posted on by 288
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)
I have the same question (0)
  • Suggested answer
    Nived_Nambiar Profile Picture
    18,029 Super User 2025 Season 2 on at
    date format issue to ISO 8601
    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
    68,271 Most Valuable Professional on at
    date format issue to ISO 8601
    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
    288 on at
    date format issue to ISO 8601
    thanks
  • David_MA Profile Picture
    12,515 Super User 2025 Season 2 on at
    date format issue to ISO 8601
    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

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 650 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 341 Moderator

#3
developerAJ Profile Picture

developerAJ 256

Last 30 days Overall leaderboard