File DateTime output

Started by Kucera, May 04, 2014, 04:54:15 PM

Previous topic - Next topic

Kucera

Renaming a file from Exif using {File.DateTime} outputs, say, 2014-05-04 09_48_38. Is there something that I could add to that Renamer line which would give me 2014-05-04 09-48-38 ?
To get dashes instead of underlines for time, so I can keep this consistent with a whole bunch of existing files?
Thanks Emil

Kucera

Asked too soon, sorry! With some thought and digging I find
{File.DateTime|format:YY-DD-MM hh-mm-ss}  does the trick. Should have known IMatch would come through easily... :)
Regards Emil