Skip to main content

Notifications

Power Automate Fundamentals # 13: Usage of UTCNow in Power Automate

Power Automate Fundamentals # 13: Usage of UTCNow in Power Automate

 

Introduction:

In Power Automate, common scenario is to get current date and time to do manipulations on 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.

Usage of UTCNow in Power Automate Figure 1.jpg

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.

Usage of UTCNow in Power Automate Figure 2.jpg

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 expression as

utcNow()

and click on ok/update as shown in the below figure.

Usage of UTCNow in Power Automate Figure 3.jpg

 

Step 4:

After Step 3, save and run flow and observe output current date and time

as shown in the below figure.

 Usage of UTCNow in Power Automate Figure 4.jpg

 

Note:

  1. Make sure to save and run the flow whenever you try expressions.
  2. MS documentation is found at here

Conclusion: In this way we can easily get current date and time in Power Automate flow.

Comments

*This post is locked for comments