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.
"It didn't work" isn't helpful. What was the exact command used and the output.
Read FAQ #3 and use that cmd
Please use the Code button for exiftool output

Please include your OS/Exiftool version/filetype

light9876

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