Adding Times to File Names
Hello,
I've been organizing my photos for a long time using Advanced Renamer. I always use the following format:
2026-01-10 - 18.55.52
Year-month-day - hour-minutes-seconds
The problem I'm having is that I bought a GoPro and on my trip, I suppose because there's a different time zone, the timestamps on the videos (oddly enough, the photos have the correct timestamps) are wrong. I need to add 7 hours.
I normally use the following command to organize my videos:
<Video Date Year>-<Video Date Month>-<Video Date Day>-<Video Date Hour>.<Video Date Min>.<Video Date Sec>
How could I add 7 hours to each video (in bulk)?
Perhaps it would be simpler to use the previous command, change the file name, and then use "Replace" to add 7 hours. Does anyone know the formula?
Thank you so much ^^
I've been organizing my photos for a long time using Advanced Renamer. I always use the following format:
2026-01-10 - 18.55.52
Year-month-day - hour-minutes-seconds
The problem I'm having is that I bought a GoPro and on my trip, I suppose because there's a different time zone, the timestamps on the videos (oddly enough, the photos have the correct timestamps) are wrong. I need to add 7 hours.
I normally use the following command to organize my videos:
<Video Date Year>-<Video Date Month>-<Video Date Day>-<Video Date Hour>.<Video Date Min>.<Video Date Sec>
How could I add 7 hours to each video (in bulk)?
Perhaps it would be simpler to use the previous command, change the file name, and then use "Replace" to add 7 hours. Does anyone know the formula?
Thank you so much ^^
Reply to #1:
Hi Zirrog,
You can use <Video Date:yyyy.mm.dd - hh.nn.ss:+7h> instead of all that. Easy.
User guide on tag formatting: https://www.advancedrenamer.com/user_guide/v4/tags_datetimem odified
User guide on adjusting time output: https://www.advancedrenamer.com/user_guide/v4/tags_datetime# adjusting-output-value
Let us know how this works for you...
Best,
DF
Hi Zirrog,
You can use <Video Date:yyyy.mm.dd - hh.nn.ss:+7h> instead of all that. Easy.
User guide on tag formatting: https://www.advancedrenamer.com/user_guide/v4/tags_datetimem odified
User guide on adjusting time output: https://www.advancedrenamer.com/user_guide/v4/tags_datetime# adjusting-output-value
Let us know how this works for you...
Best,
DF
Reply to #2:
Thank you so much for your help.
I think I'm a bit clumsy because I still haven't managed to get it to work.
Whether I use the following command:
<Video Date Year>-<Video Date Month>-<Video Date Day> - <Video Date Hour>.<Video Date Min>.<Video Date Sec>
or the one you suggested:
<Video Date:yyyy.mm.dd - hh.nn.ss:+7h>
The result is the same; it doesn't add up to 7 hours.
I've tried several combinations, including using this tag <Hour:+7>, but it still doesn't add up to 7 hours.
I hope someone has the answer to this mystery :)
Thank you so much for your help.
I think I'm a bit clumsy because I still haven't managed to get it to work.
Whether I use the following command:
<Video Date Year>-<Video Date Month>-<Video Date Day> - <Video Date Hour>.<Video Date Min>.<Video Date Sec>
or the one you suggested:
<Video Date:yyyy.mm.dd - hh.nn.ss:+7h>
The result is the same; it doesn't add up to 7 hours.
I've tried several combinations, including using this tag <Hour:+7>, but it still doesn't add up to 7 hours.
I hope someone has the answer to this mystery :)
Reply to #3:
Zirrog,
Are you using the latest version? The adjustments started coming in on 4.04 iirc, but if you're using 4.19 this all should work just fine.
<hour>, of course, should give you the hour at the time of using it. Maybe try using <Date Modified:yyyy.mm.dd - hhhh.mm.ss:+7h>
see if that works for you.
What camera brand/model and video format are you working on? There may be something in the format, I can't speak to that, but if it's a standard camera & video type it should work. Kim should be around soon to answer that aspect if you leave that information.
If you can attach a screenshot...?
EDIT: Here's a screenshot show you that it normally works. In the "New Filename" column, the first date is unadjusted date from the file; the second date is the one that's adjusted 7 hours.
https://drive.google.com/file/d/1O4zlOg4KLW0RoccOBmCR--IubB4 Pd4NW/view?usp=sharing
END EDIT
Best,
DF
Zirrog,
Are you using the latest version? The adjustments started coming in on 4.04 iirc, but if you're using 4.19 this all should work just fine.
<hour>, of course, should give you the hour at the time of using it. Maybe try using <Date Modified:yyyy.mm.dd - hhhh.mm.ss:+7h>
see if that works for you.
What camera brand/model and video format are you working on? There may be something in the format, I can't speak to that, but if it's a standard camera & video type it should work. Kim should be around soon to answer that aspect if you leave that information.
If you can attach a screenshot...?
EDIT: Here's a screenshot show you that it normally works. In the "New Filename" column, the first date is unadjusted date from the file; the second date is the one that's adjusted 7 hours.
https://drive.google.com/file/d/1O4zlOg4KLW0RoccOBmCR--IubB4 Pd4NW/view?usp=sharing
END EDIT
Best,
DF
Reply to #4:
I feel embarrassed.
I tried updating it through the app, and it said I had the latest version, but I saw on the official website that there was a newer version.
So now, with the program updated, the formula works perfectly.
Thank you so much for your help! ^^
I feel embarrassed.
I tried updating it through the app, and it said I had the latest version, but I saw on the official website that there was a newer version.
So now, with the program updated, the formula works perfectly.
Thank you so much for your help! ^^
Reply to #5:
Any time, my friend! I'm just glad we could get you working...
And a happy and healthy new year to you!
Best,
DF
Any time, my friend! I'm just glad we could get you working...
And a happy and healthy new year to you!
Best,
DF