Power Automate formatDateTime()

Power Automate formatDateTime() is a useful expression that I use when i need to log flow actions, but I often forget the syntax, so this is a log for it.

To play around with this expression

Create a new manually trigger flow, name it was you will

Create two data compose actions, the first one just output the date time utcNow() as example.

The second compose actions will use the expression, formatDateTime(utcNow(),’dd.MM.yyyy HH:mm’)

Save and run your flow, the output should be as below

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s