Renaming with EXIF metadata

Been reading quite a few of the older threads, and got the impression, that there earlier was a bug that should have been fixed in 2016 or something to that effect, thus it puzzled me, when trying to make a simple rename (from EXIF metadata) that does as follows:

{datetaken|yyyy-MM-dd - HH.mm.ss} - {cameramake} - {cameramodel}

But seemingly, it is unable to accept formatting to the datetaken. If one looks in the different threads, one seems to be able to use datektaken.Format(YYYY-MM-DD - HH.mm.ss) in visualbasic scripts, but that does not seem to work either in the rename window.

Whereas the regular date can accept formatting as for example :
{date|yyyy-MM-dd} {time|HH.mm.ss}

What exactly am I doing wrong, in this context ?

Finally, it would be nice, if it could also set modified and created date to the EXIF Taken date time stamp in the same so that it could all be managed via a button.

Maybe I haven't been able to find all on this. I know I earlier made a couple of buttons to do it via a script, but I thought that this had been updated (after having migrated to a newer computer, i seem to have lost that).

I don't know which bugs or threads you're referring to, but I'm not aware of any outstanding bugs here.

You need a D# at the start of your date format string and T# at the start of the time format string.

(The D# is optional in {date} because it's implicitly a date-only field, while {datetaken} is both date and time, although the name implies otherwise.)

So, instead of: {datetaken|yyyy-MM-dd - HH.mm.ss}

Use: {datetaken|D#yyyy-MM-dd - T#HH.mm.ss}

You can do that using the SetAttr command (or Set Attributes dialog, or Medata panel/dialog if you want to do it interactively).