News:

2023-03-15 Major improvements to the new Geolocation feature

Main Menu

Print exposure date of an image in microseconds

Started by light9876, July 16, 2020, 08:29:17 PM

Previous topic - Next topic

light9876

I have an image IMG_01.PNG

I can display the image exposure date by doing: exiftool -CreateDate IMG_01.JPG This prints:

Create Date                     : 2017:04:15 10:06:40

But I want to display the exact exposure date in microseconds, like the one I get using stat -c %w IMG_01.JPG:

2020-07-17 00:44:30.483242603 +0100

StarGeek

Check your StackOverflow post.  I put up an answer there.

But to expand a bit, CreateDate is embedded data and normally doesn't have a subsecond component (though there is three EXIF SubSecTime* time stamps).  And if whatever created the image doesn't take the time to actually embed such data, it's not going to exist.

With regards to the subsecond precision that stat gives, see this thread.
* Did you read FAQ #3 and use the command listed there?
* Please use the Code button for exiftool code/output.
 
* Please include your OS, Exiftool version, and type of file you're processing (MP4, JPG, etc).

light9876

Thanks so much. This means that this info is not stored.