Renaming - Date/time manipulation

Advanced Renamer forum
#1 : 28/11-23 18:42
Eng.DarkAlchemist
Posts: 10
Hi team,
My files have the following format in the name: DMMYYYY (D - day, M - month, Y - year). i.e: 13022023. I must change to the format YYYYMMDD. Is there any way to solve this?
Is it possible to convert <word:1> to <Time:yyyymmdd>? If so, how?
Or how can I use regular expression?
#2 : 29/11-23 20:37
Miguel
Posts: 148
Reply to #1: Hi.
Using the Move option, twice, you can conver the ddmmyyy to yyyymmdd.

First Move:
Move from: 1
Move count: 4
Move to: 5
This will move the ddmm four positions and yyyy will be first.

Second Move:
Move from: 5
Move count: 2
Move to: 7
This will move dd to last.
The result will be yyyymmdd
#3 : 30/11-23 13:26
Miguel
Posts: 148
ºReply to #2: I have found an easy way.

Replace: (\d\d)(\d\d)(\d\d\d\d)

Replace with: ${3}-${2}-${1}

Use regular expressions


edited: 30/11-23 13:27