Skip to main content

Notifications

Power Automate - Building Flows
Answered

The value provided for date time string '18.11.2024 16:30' was not valid.

Posted on by 4
Hello guys,
 
I have two strings, that cannot be changed  before being input into th correct fields in the "create a teams meeting" function in MS flow.  I'm always getting the following errors with parseDateTime and formatDate Time functions:
 
formatDateTime(outputs('Termin'),'yyyyddMMThh:mm:ss')
 
How can I convert the string reading '18.11.2024 16:30' to a ISO 8601-frindly format in that specific step?
 
 
Thank you in advance
  • EKarim Profile Picture
    EKarim 10,261 on at
    The value provided for date time string '18.11.2024 16:30' was not valid.
    Yes, use Central European Standard Time for Germany:
     
     
  • CR-13111616-0 Profile Picture
    CR-13111616-0 4 on at
    The value provided for date time string '18.11.2024 16:30' was not valid.
    Thank you for the answer.
    Your Method gave me a valid output. Do you perhaps knoiw which Timezone in the flow I should use to keep the appointment in german Time? 
    European standard?
     
    Thank you again
  • Verified answer
    EKarim Profile Picture
    EKarim 10,261 on at
    The value provided for date time string '18.11.2024 16:30' was not valid.
    You can try the parseDateTime function:
     
    parseDateTime('18.11.2024 16:30', 'en-gb','dd.MM.yyyy HH:mm')
     
    will return 2024-11-18T16:30:00.0000000

     
    Ellis
     
  • ronaldwalcott Profile Picture
    ronaldwalcott 1,026 on at
    The value provided for date time string '18.11.2024 16:30' was not valid.
    Shouldn't the format be yyyy-MM-ddTHH:mm:ssZ

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #7 Community Profile Tips…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,487

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,014

Leaderboard