I need the workflow to convert any type to date type yyyy-mm
Solved! Go to Solution.
Hey @Aleksandar1,
What exactly do you mean by "any type"?
There are so many possible options to write a date, there is no workflow that captures everything.
Please specify what you require.
My enduser needs to enter the date in the form yyyy-mm, but I want to have control so that if he enters it in any other way, it will output to me in the format yyyy-mm
DateTimeFormat(DateTimeParse([Field1], "%d-%m-%Y"), "%Y-%m")
use this to get output as 1997-09