Working with dates & times in Microsoft Flow
Recently I found out that the Workflow Definition Language schema for Azure Logic Apps is also supported in Microsoft Flow. This makes it a lot easier to work with dates and times.
You can use the "Data Operations - Compose" action to work with those dates.
For a workflow it can be very useful to get the current date, day, month or even year. To do this, the following scenarios are possible:
The above code snippet will return this:
The above snippet will return the current day of the month:
You can also get the day in a diffent form with the following snippet:
This will return the full name of the day of the week.
The above snippet will return the current month:
You can also get the full name of the month:
The above snippet will return the full name of the current month:
The above snippet will return current year:
The above snippet will return the long time:
The above snippet will return the short time: