Skip to main content

Notifications

Power Automate - Building Flows
Answered

how to check if value is a date in Power automate desktop

Posted on by 4
Hello all,
 
is there way to check if the value in variable is date ?

Thanks in advance.

 
  • Verified answer
    BOFFF Profile Picture
    BOFFF 10 on at
    how to check if value is a date in Power automate desktop
    Hi ,
     
    Since Power Automate doesn’t have an IsDate function, if you need to determine whether a value is a date, you might consider using the ParseDatetime function to parse the value. If it results in an error, then the value is not a date.
     
    Here is my flow:
    parseDateTime(outputs('Compose'))
     
    Result
     
    Best Regards,
    Bof

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

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,090

Leaderboard