Skip to main content

Notifications

Copilot Studio - Calling Actions from Copilot S...
Answered

Flow to format Date and Time values in my flow is now failing (worked last week...)

(0) ShareShare
ReportReport
Posted on by 6

Hi everyone,

 

Last week I set up a flow to format Date and Time values. It was successfully working last week but now it's failing and throwing up an error (images below):

 

Snapshot of my flow and the error (in orange)

linlin88_0-1663104161367.png

 

The expression I'm using in the relevant field is:

formatDateTime(body('Current_time'), 'dd/MM/yyyy hh:mm tt')
 
 
Just wondering, has anyone else experienced this error? Otherwise, I wonder if there was a change in the system in the last week - seems strange that it was working perfectly before and now it's not...
 
Thanks!
Lin

 

Categories:
  • linlin88 Profile Picture
    linlin88 6 on at
    Re: Flow to format Date and Time values in my flow is now failing (worked last week...)

    Hi @Expiscornovus,

     

    Thanks so much, your solution worked 🙂 Much appreciated!

     

    Lin

     

     

  • Verified answer
    Expiscornovus Profile Picture
    Expiscornovus 31,104 on at
    Re: Flow to format Date and Time values in my flow is now failing (worked last week...)

    Hi @linlin88,

     

    Quick question, have you tried using the current time value without formatting? As far as I am aware that should work with a standard DateTime SharePoint column.

     

    withoutformatting.png

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,475

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,767

Leaderboard

Featured topics