Author Topic: How to change only Date without changing Time in DateTimeOriginal tag  (Read 174 times)

Romeo

  • Newbie
  • *
  • Posts: 3
Hello!
Need a help in solving some problem!
How to change only Date without changing Time in DateTimeOriginal tag?

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 3795
Can you give an example of exactly what you want to do?  Do you want to shift the date by a set time. For example, shift the days ± a few days?  Or set it to a specific date no matter what the current value is?
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

Romeo

  • Newbie
  • *
  • Posts: 3
Thanks for the quick response!

Set it to a specific date no matter what the current value is!

Example:
filename_1.jpg (DateTimeOriginal: 2014:05:08 17:22:11)
filename_2.jpg (DateTimeOriginal: 2008:06:10 10:17:09)
filename_3.jpg (DateTimeOriginal: 2012:03:24 15:05:48)

Need to get this result
filename_1.jpg (DateTimeOriginal: 2014:05:08 17:22:11)
filename_2.jpg (DateTimeOriginal: 2014:05:08 10:17:09)
filename_3.jpg (DateTimeOriginal: 2014:05:08 15:05:48)

StarGeek

  • Global Moderator
  • ExifTool Freak
  • *****
  • Posts: 3795
See this post

That gives examples for three tags.  Just keep the ones you want.
Troubleshooting hints:
* When posting, include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).
* Double all percent signs (%) in a Windows batch file.
* If your GPS coords are negative, make sure and set the GpsLatitudeRef and GpsLongitudeRef tags correctly.

Romeo

  • Newbie
  • *
  • Posts: 3
Thank!!! you StarGeek, that's exactly what I needed!