Source
exiftool -DateTimeOriginal="2023:10:2 10:01:50+02:00" IMG_20231002_100150605.JPG
- creation time:
-CreateDate
- modification time:
-ModifyDate
- there’s also the option to use existing metadata to overwrite other metadata, e.g., to set the DateTimeOriginal from the file’s modification time
exiftool "-DateTimeOriginal>FileModifyDate" test.jpg