Change date format d-m-yyyy to yyyy-mm-dd

Advanced Renamer forum
#1 : 20/02-24 06:04
Bob Korbel
Bob Korbel
Posts: 1
Hello

I change the date format in sone downloaded files from

Namely d-
UT-1-2-2024.mp3
UT-10-12-2024.mp3

to

UT-2024-02-01.mp3
UT-2024-12-10.mp3

I can do this via two renumber methods and then a replace.

As a matter of interest, is it possible to do this with one replace only

(\d{1,2})-(\d{1,2})-(\d{4})
\3-\2-\1

were the replacements are formatted (eg. \3:'00' )

Regards
BobK



20/02-24 06:04
#2 : 21/02-24 15:17
Kim Jensen
Kim Jensen
Administrator
Posts: 905
Reply to #1:
I would go with the two renumber methods.


21/02-24 15:17