Solved

Extract Month from a date variable

  • 26 August 2020
  • 1 reply
  • 372 views

Badge +10

I need to extract the month from a variable. In my workflow, I have a set variable action that uses the executed date. I need to get the month from that. So if the workflow runs on 8/26/2020, I want the return to be August. I am sure that there is probably an easy way to do this with a regular expression but none of what I am using works. When I was on 2013, I simply did a build string formatting the date, but I don't think that formatting is an option in O365.

icon

Best answer by aak1 31 August 2020, 21:25

View original

1 reply

Badge +10

I ended up just extracting the number of the month from the date by splitting the date and then using the get item from collection action to pull the first number. I didn't get August, but I did get 8 which works in my case.

Reply