Date Numerical

Advanced Renamer forum
#1 : 19/01-18 03:43
Oscar
Oscar
Posts: 2
How to change a month name to its numerical equivalent as in Jan to 01?


19/01-18 03:43
#2 : 19/01-18 09:19
Stefan
Stefan
Posts: 274
Reply to #1:

Perhaps add twelve time a Replace method ?



Try Replace (https://www.advancedrenamer.com/user_guide/metho d_replace)

Replace
Find: Jan
Replace: 01

Replace
Find: Feb
Replace: 02

etc. ....






-or more accurate-

Find: \bJan\b
Replace: 01
[x] Use regular expressions


Find: \bFeb\b
Replace: 02
[x] Use regular expressions





?


See 'User Guide' for more ideas:
https://www.advancedrenamer.com/user_guide/getti ngstarted


HTH?


19/01-18 09:19
#3 : 20/01-18 03:19
Oscar
Oscar
Posts: 2
Reply to #2:
Thanks, it works for great.

I realized that List Replace can be filled with all months and be replaced with their numerical equivalents.


20/01-18 03:19
#4 : 20/01-18 12:51
Stefan
Stefan
Posts: 274
Reply to #3:

Great you solved it.


> List Replace
I know there must be such thing, but I missed to find it.



>>>
https://www.advancedrenamer.com/whatsnew
Version 3.73
21. aug. 2016
List replace method
Text phrases in the left column is replaced with the corresponding value in the right column.




 


20/01-18 12:51
#5 : 26/01-18 03:56
Tony Zhou
Tony Zhou
Posts: 3
Reply to #3:

Great that worked! :-)


26/01-18 03:56