Create a folder by date

%3CLINGO-SUB%20id%3D%22lingo-sub-61029%22%20slang%3D%22en-US%22%3ECreate%20a%20folder%20by%20date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-61029%22%20slang%3D%22en-US%22%3E%3CP%3EI%20have%20a%20flow%20running%20that%20attachements%20from%20a%20certain%20e-maildress%20are%20saved%20in%20a%20folder%20of%20my%20OneDrive.%26nbsp%3B%3C%2FP%3E%3CP%3EAt%20this%20moment%20I%20try%20to%20tweak%20the%20flow%20that%20the%20flow%20creates%20a%20folder%20by%20the%20received%20at%20dynamic%20content%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20400px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F13045iE4126546AEF48D13%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22flow%2001.PNG%22%20title%3D%22flow%2001.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EBut%20when%20I%20use%20that%20Dynamic%20content%20I%20get%20an%20error%3A%3C%2FP%3E%3CP%3E%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-inline%22%20style%3D%22width%3A%20255px%3B%22%3E%3CIMG%20src%3D%22https%3A%2F%2Fgxcuf89792.i.lithium.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F13046i547AD3F9EEB69EBC%2Fimage-size%2Fmedium%3Fv%3D1.0%26amp%3Bpx%3D400%22%20alt%3D%22flow%2002.PNG%22%20title%3D%22flow%2002.PNG%22%20%2F%3E%3C%2FSPAN%3E%3C%2FP%3E%3CP%3EThe%20problem%20is%20that%20there%20are%20some%20illegal%20characters%20in%20the%20folder%20name.%20The%20%3A%20is%20giving%20the%20trouble%3C%2FP%3E%3CP%3EIs%20it%20possible%20to%20only%20extract%20the%20date%3F%26nbsp%3B%3C%2FP%3E%3CP%3EI%20don't%20see%20any%20other%20easy%20to%20filter%20dynamic%20content%20to%20create%20a%20folder%20with%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E%3CLINGO-LABS%20id%3D%22lingo-labs-61029%22%20slang%3D%22en-US%22%3E%3CLINGO-LABEL%3EMicrosoft%20Flow%3C%2FLINGO-LABEL%3E%3C%2FLINGO-LABS%3E%3CLINGO-SUB%20id%3D%22lingo-sub-802491%22%20slang%3D%22en-US%22%3ERe%3A%20Create%20a%20folder%20by%20date%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-802491%22%20slang%3D%22en-US%22%3E%3CP%3E%3CA%20href%3D%22https%3A%2F%2Ftechcommunity.microsoft.com%2Ft5%2Fuser%2Fviewprofilepage%2Fuser-id%2F422%22%20target%3D%22_blank%22%3E%40Maurits%20Knoppert%3C%2FA%3E%26nbsp%3B%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3EWe%20are%20just%20starting%20with%20flows%2C%3C%2FP%3E%3CP%3EBut%20we%20have%20the%20same%20question%2C%3C%2FP%3E%3CP%3Ehave%20you%20ever%20found%20a%20solution%20%3F%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CP%3Eupdate%3C%2FP%3E%3CP%3Efound%20the%20answer%2C%20posting%20it%20for%20other%20newbies%20as%20me%20%3B)%3C%2Fimg%3E%3CBR%20%2F%3Euse%20an%20expression%2C%20for%20example%20%3A%3C%2FP%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3CDIV%3E%3CDIV%3E%3CSPAN%3EutcNow(%3C%2FSPAN%3E%3CSPAN%3E'yyyy-MM-dd'%3C%2FSPAN%3E%3CSPAN%3E)%3C%2FSPAN%3E%3C%2FDIV%3E%3C%2FDIV%3E%3CP%3E%26nbsp%3B%3C%2FP%3E%3C%2FLINGO-BODY%3E
Highlighted
Frequent Contributor

I have a flow running that attachements from a certain e-maildress are saved in a folder of my OneDrive. 

At this moment I try to tweak the flow that the flow creates a folder by the received at dynamic content

 

flow 01.PNG

But when I use that Dynamic content I get an error:

flow 02.PNG

The problem is that there are some illegal characters in the folder name. The : is giving the trouble

Is it possible to only extract the date? 

I don't see any other easy to filter dynamic content to create a folder with

 

1 Reply
Highlighted

@Maurits Knoppert 

 

We are just starting with flows,

But we have the same question,

have you ever found a solution ?

 

update

found the answer, posting it for other newbies as me ;)
use an expression, for example :

 

utcNow('yyyy-MM-dd')