Skip to content

Format Date and Time in Power Automate(MS Flow)

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:

  1. Go to Expressions and search for formatDateTime
  2. Select formatDateTime.
  1. 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!!

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments