Hello
I am trying to create a flow as follows
How can i create a foldername with datetime as the name, i tried 'Received Time" but its giving an errror?
Anyhelp will be appreciated
Regards
Solved! Go to Solution.
Hello @eden ,
you can use the 'Received Time', but you must format it using the formatDateTime(...) expression. If you use the full 'Received Time' it contains also the time, and the time includes : character = invalid character in folder name.
Use formatDateTime(...) to format the date into the desired format 'ddMMyyyy'.
formatDateTime(triggerOutputs()?['body/receivedDateTime'],'ddMMyyyy')
And you should add also the / before the expression to use it as a folder name.
Hello @eden ,
you can use the 'Received Time', but you must format it using the formatDateTime(...) expression. If you use the full 'Received Time' it contains also the time, and the time includes : character = invalid character in folder name.
Use formatDateTime(...) to format the date into the desired format 'ddMMyyyy'.
formatDateTime(triggerOutputs()?['body/receivedDateTime'],'ddMMyyyy')
And you should add also the / before the expression to use it as a folder name.
Yours expression works works for me ,
i have one more solution which i was able to come out
This will convert the datetime to string format like Saturday,March 2021
User | Count |
---|---|
91 | |
45 | |
21 | |
18 | |
16 |
User | Count |
---|---|
135 | |
49 | |
42 | |
36 | |
28 |