Uploading to a date subfolder within a Matrix I'm working on a site that will have lots of content. Our customer now asked to have their images upload into a different subfolder, by date.
I can get it done in a "normal" Assets field, but in a Matrix I get an error: Could not resolve the subpath “{postDate|date("d-m-Y")}”, with postDate being the name of the generated folder.
I did the exact same thing in a "regular" Assets field and that does its job as it should.

Can anyone tell me what I'm doing wrong?

Thanks!
You're probably looking for:

{owner.postDate|date("d-m-Y")}


See the note about dynamic subfolders on an Assets field inside of Matrix here: https://craftcms.com/docs/assets-fields#dynamic-subfolder-paths