EXIF tag · ExifIFD

DateTimeOriginal

When the photo was taken (local camera time, without time zone unless OffsetTimeOriginal is set).

0x9003
Tag ID (36867 decimal)
ExifIFD
IFD / group
string
Data type
EXIF
Table

What DateTimeOriginal means#

When the photo was taken (local camera time, without time zone unless OffsetTimeOriginal is set).

Read, write and remove it#

# read
exiftool -DateTimeOriginal photo.jpg
# write
exiftool -DateTimeOriginal="…" photo.jpg
# remove
exiftool -DateTimeOriginal= photo.jpg
# all files in a folder, as CSV
exiftool -csv -DateTimeOriginal -r ./photos > date-time-original.csv

In Python with Pillow:

from PIL import Image
exif = Image.open("photo.jpg").getexif()
value = exif.get_ifd(0x8769).get(0x9003)  # DateTimeOriginal
print(value)

Frequently asked questions#

What is the EXIF tag ID of DateTimeOriginal?

0x9003 (36867 decimal), in the ExifIFD directory.

How do I see DateTimeOriginal in a photo?

Run exiftool -DateTimeOriginal photo.jpg, or open the file's info panel in Lightroom, Photoshop, Windows (Properties → Details) or macOS Preview (Tools → Show Inspector).

Last updated October 03, 2026 · How we calculate · Sources

Last posts

  1. The Most Dependable Way to Back Up Family Photos
  2. Who Needs a Dedicated Photo Printer at Home
  3. Are Large Cleaning Kits Better Than Basic Sets
  4. Do You Need a Macro Focusing Rail in the Field
  5. Do You Need a Heated Lens Wrap for Aurora Photography
  6. Does an Extended Warranty Cover Accidental Drops
  7. Do Padded Camera Straps Actually Stop Neck Pain
  8. Using Old Lenses on Mirrorless Cameras Compatibility Rules
  9. Are My Lens and Teleconverter Compatible? A Practical Check
  10. Using Clip-on SSDs for Phone Video Recording