Introduction: In this blog, we will understand how we can format date and time in Power Automate(MS Flow).
we will see different formats in which we can format date and time.
Example 1: Let’s say we want a date in 24-06-2021 format.
Steps to be followed:
- Go to Expressions and search for formatDateTime
- Select formatDateTime.

- formatDateTime requires two parameter.
formatDateTime(timestamp: string, format?: string)
- timestamp: enter the date which you want to format
- format: enter the format in which you want to format
formatDateTime(outputs('Todays_Date'),'dd-MM-yyyy')


Use the below expressions to format the date based on your requirement.
Note:
In below table
- Date: 24
- Month: 06
- Year: 2021


I hope you find this helpful!!