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. How Much Should a Roll of 35mm Film Cost Today
  2. How Long Does 100ft of Film Last by Format
  3. How Much Cash to Bring for a 7 Day Trip Budgeting Basics
  4. How Many Outfits for a 7 Day Trip and How to Pack Light
  5. How to Protect Camera Lenses from Humidity and Fungus
  6. Protecting Electronics From Humidity and Corrosion
  7. Protecting Cameras From Moisture and Humidity
  8. Are Camera Cubes Worth It? Pros and Cons for Photographers
  9. Can You Use a Regular Backpack as a Camera Bag
  10. Are Camera Wraps Worth It? Protection Versus Resale Value