Get Today’s Date and Format Date using Power Automate Microsoft Flow

Get today’s date and format date to ‘dd-MM-yyyy’ format using Power Automate Microsoft Flow (MS Flow). Initialize a new string variable with the name todaysDate.

Use the below expression as the value of the todaysDate string variable to get the date in DateTime format.

utcNow()
Initialize string variable with todays date as value

Add a new Compose step to format todaysDate variable to ‘dd-MM-yyyy’ format in Power Automate Microsoft Flow. Use the below expression to format the date.

formatDateTime(variables('todaysDate'), 'dd-MM-yyyy')
Compose step to format todays date variable to 'dd-MM-yyyy' format in Power Automate Microsoft Flow

Run the flow and see the output.

output of Power Automate Microsoft Flow showing todays date and formatted date to dd-MM-yyyy format

Thank you All!!! Hope you find this useful.


Leave a Reply

Up ↑

%d