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 / Calculating the submis...
Power Automate
Unanswered

Calculating the submission time of a Form is 24 hours or less from date selected

(0) ShareShare
ReportReport
Posted on by 2

I need help with a flow to calculate the time of submission from the date selected in a form. The flow sends an email to the respondent based on the date selected inside the form. For example, if the time of submission and date selected is 24 hours or less they would receive email #1, but if the time of submission and date selected is greater than 24 hours then they would receive email #2. I am new to Power Flow and I don't have any screenshots to share yet.

Categories:
I have the same question (0)
  • yashkamdar Profile Picture
    1,044 on at

    Hello Team,

     

    Here is how you achieve this.

     

    Here is a simple form I created just so I can show you the solution -

     

    I have a simple date picker in this.

    yashkamdar_0-1602869141904.png

     

     

    My flow-

     

    Step 1 and 2 - When a new response is submitted, get response details (self explanatory)

     

    yashkamdar_1-1602869179961.png

     

     

    Step 3 - Condition to check if submission date is equal to today's date

     

    formatDateTime(outputs('Get_response_details')?['body/submitDate'],'yyyy-MM-dd') is equal to Date to be compared against submission

     

    yashkamdar_2-1602869830280.png

     

     

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

  • Doby Profile Picture
    2 on at

    Thanks, I tried what you suggested but getting an error message: The template language function 'formatDateTime' expects its first parameter to be of type string. The provided value is of type 'Null'

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 103 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 87

#3
trice602 Profile Picture

trice602 63 Super User 2026 Season 1

Last 30 days Overall leaderboard