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 / Help needed with PAD f...
Power Automate
Answered

Help needed with PAD flow for automatically entering a date into a date picker using the current date

(0) ShareShare
ReportReport
Posted on by

I am trying to create a flow that runs 15 minutes each day.  It involves logging in to a webpage, selecting the current date, searching for orders, based on parameters, and capturing the number of results each time.

 

I am having trouble using the 'Send Keys' option to the date picker.

 

I capture the current date as a variable then use that with the 'Send Keys' command to put the date in to the date picker element and then click 'Search' to get the current date.

 

However, it doesn't seem to work because after the current date is 'typed' into the date picker and then the search button clicked the date in the date picker goes 31/12/1899 (which obviously mean the date format is not recognised, so it defaults to this date instead because it can't read it).

 

The date picker format looks like this:

ianwuk_1-1670826503130.png

However, I have to type in 12/12/2022 - 00:00 for it to work so the format it expects is DDMMYYYY - 00:00.

 

How can I use the CurrentDate command to work with Send Keys so that it's CurrentDate (DDMMYYYY) - 00:00 entered each time which is the correct format?

 

Here is what I have.

ianwuk_2-1670826798872.png

I hope this makes sense.  I am new to PAD.

Regards.

I have the same question (0)
  • Verified answer
    VJR Profile Picture
    7,635 on at

    @ianwuk 

    - Take the current datetime

    - Format it with a Custom Format as ddMMyyyy - 00:00

    - Now pass this FormattedDateTime variable into the Sendkeys

     

    VJR_0-1670835110040.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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 238 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 225

#3
Haque Profile Picture

Haque 181

Last 30 days Overall leaderboard