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
I just bought Sony A7m5 and just installed Advanced Renamer 4.20 yesterday to do rename on my photo and mp4 video.
I'm facing the same issue, I was shooting photos and video in between HK time 13:00 to 15:30,
upon using Advanced Renamer 4.20 to do rename, it gave me result is correct date & time for photos but wrong time for video mp4.
It gave me the time 8 hrs behind Hong Kong time, seems a Europe time.
I've tried the below:
1. <Img DateOriginal:yyyy-mm-dd> <Img TimeOriginal:hh-nn-ss>_<Inc Nr:1>
result - No date & time is come out for video files
2. <DateTime>_<Inc Nr:1>
result - No date & time is come out for video files
2. <DateTaken>_<Inc Nr:1>
result - wrong time for video files (it come out 8 hrs behind HKT)
3. <Video Date:yyyy-mm-dd> <Video Time:hh-nn-ss>_<Inc Nr:1>
result - wrong time for video files (it come out 8 hrs behind HKT)
BTW, any chance to change the number of digit in <Inc Nr:1> ?
it gave me 3 digit, but I want it to be 4 digit
I'm facing the same issue, I was shooting photos and video in between HK time 13:00 to 15:30,
upon using Advanced Renamer 4.20 to do rename, it gave me result is correct date & time for photos but wrong time for video mp4.
It gave me the time 8 hrs behind Hong Kong time, seems a Europe time.
I've tried the below:
1. <Img DateOriginal:yyyy-mm-dd> <Img TimeOriginal:hh-nn-ss>_<Inc Nr:1>
result - No date & time is come out for video files
2. <DateTime>_<Inc Nr:1>
result - No date & time is come out for video files
2. <DateTaken>_<Inc Nr:1>
result - wrong time for video files (it come out 8 hrs behind HKT)
3. <Video Date:yyyy-mm-dd> <Video Time:hh-nn-ss>_<Inc Nr:1>
result - wrong time for video files (it come out 8 hrs behind HKT)
BTW, any chance to change the number of digit in <Inc Nr:1> ?
it gave me 3 digit, but I want it to be 4 digit
Reply to #7:
Hello Dennis,
For the video issue, contact Kim via email support. Be prepared to send a short small video file that exhibits the problem.
As for the increment tag, use <Inc Nr:0001> per the documentation.
( https://www.advancedrenamer.com/user_guide/v4/tags_default )
Regards,
Randy
Hello Dennis,
For the video issue, contact Kim via email support. Be prepared to send a short small video file that exhibits the problem.
As for the increment tag, use <Inc Nr:0001> per the documentation.
( https://www.advancedrenamer.com/user_guide/v4/tags_default )
Regards,
Randy