Is there any way to change the formatting that the CurrentDateTime function outputs? The default seems to be to output dates without a leading zero (i.e. April is represented with just '4'). However, my web form that I am trying to automate is strict and requires a leading zero for month and day numbers (i.e. April needs to be represented with '04').
Any insights much appreciated.
Solved! Go to Solution.
Unfortunately, I need just the date, without the time. Even though I selected to retrieve the current date only, it still stores an empty time, just like in your screenshot. In order to get around this, I tried to reconstruct the date manually, but CurrentDateTime.Month returns '4', instead of '04'. My web application is rejecting this.
Check out the News & Announcements to learn more.
Participate in the Power Virtual Agents Community Challenge
Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.
Check out our new Discover Your Career Path blog post series and get all the details.