Introduction
In Power Automate, the common scenario is to get the current date and time to do manipulations on the current date.
Step 1
Login to the required Power Apps environment using URL make.powerapps.com by providing username and password and click on Flows on the left-hand side as shown in the below figure.
Step 2
After step 1, click on New Flow and select instant cloud flow and provide the trigger as Manually trigger a flow and click on Create as shown in the below figure.
Step 3
After step 2, name flow as UTCNow and take compose function and provide step name as Get UTC Date and Time now and under inputs specify an expression as,
utcNow()
and click on ok/update as shown in the below figure.
Step 4
After step 3, save and run flow and observe output current date and time as shown in the below figure.
Note
- Make sure to save and run the flow whenever you try expressions.
- MS documentation is found here
Conclusion
In this way, we can easily get the current date and time in the Power Automate flow.