Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

the EXIF DateTimeOriginal format is YYYY:MM:DD (HH:MM:SS) per its specification. I don't want to records the seconds from the time. I want my format to be YYYY:MM:DD (HH:MM).

How I can achieve this, regardless the OS?

share|improve this question
up vote 1 down vote accepted

ExifTool lets you read and write EXIF data. You can use it to extract the timestamp, set the seconds value to zero and write it back.

ExifTool works on Windows, Linux and Mac. You'll need to write a script or program to manipulate the timestamp, but you can use your script or programming language of choice.

share|improve this answer
I don't want to set the seconds to 00. I want not to record them at all, thus :SS filed will disappear. – grs Aug 13 '11 at 15:56
The EXIF date/time fields use ISO standard date strings, which require the seconds field as far as I know. If you were to figure out a way toactually remove the seconds field, it may cause problems for other programs that try to parse it. You could certainly try using Exiftool to write the timestamp without the seconds field. I suspect it will either complain or it will set seconds to zero. – cantfork Aug 13 '11 at 16:05

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.