In Power Automate, common scenario is to get current date and time to do manipulations on current date.
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.
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.
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 expression as utcNow() and click on ok/update as shown in the below figure.
After Step 3, save and run flow and observe output current date and time
as shown in the below figure.
- Make sure to save and run the flow whenever you try expressions.
- MS documentation is found at here
Conclusion: In this way we can easily get current date and time in Power Automate flow.
One thought on “Power Automate Fundamentals # 13: Usage of UTCNow in Power Automate”
Pingback: Rewind September 2021 – Common Man Tips for Power Platform, Dynamics CRM,Azure