Adding +1 to a Substring

Advanced Renamer forum
#1 : 08/12-22 12:18
Flip Aus
Flip Aus
Posts: 3
Hi Folks,

I have some photos to rename and the meta datas hours are wrong by one hour. I am working with Substrings since the date of modifiying is not the right one.

On Example:
PXL_20221002_120005341.jpg

Formula:
<Substr:5:4>-<Substr:9:2>-<Substr:11:2> <Substr:14:2>.<Substr:16:2>.<Substr:18:2>

New Name:
2022-10-02 12.00.53

But the right time in this case would be 13.00.53 (equals 1pm)

Can I add a +1 tp the Substring <Substr:14:2>?

Thanks ahead.

Flip


08/12-22 12:18
#2 : 08/12-22 12:31
David Lee
David Lee
Posts: 1125
This won't work reliably since if your adjustment moves the time past midnight you will also have to change the day and possibly the month and maybe even the year!

See my reply to: https://www.advancedrenamer.com/forum_thread?for um_id=13251 forsa solution using scripting.


08/12-22 12:31
#3 : 08/12-22 15:33
Flip Aus
Flip Aus
Posts: 3
Reply to #2:
Thank you so much!!!! :)


08/12-22 15:33