Year not written correctly for FileCreateYear to a jpg file

Started by smussler, January 19, 2020, 07:37:37 PM

Previous topic - Next topic

smussler

When writing a date with a year like 1957 to FileCreateYear, exiftool is writing the year as 2057.
Works correctly for DateTimeOriginal
Version 11.7.9 in use.

C:\Data\Code\VB_2019\DBS\Photo6\exiftool.exe -preserve -overwrite_original  -DateTimeOriginal="1957:05:01 12:00:00" "E:\Data_E\000Camera\2019\35mm-Slides_1\_APR0843.JPG" > c:\temp\EditResult.txt 2>&1

Above works for -DateTimeOriginal
Same command with FileCreateYear, writes the wrong year.

StarGeek

What is your actual command because there is no tag called FileCreateYear.
* 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).

StarGeek

Do you mean FileCreateDate?

ExifTool uses standard Perl date/time routines to do the necessary conversions to set the file system time stamps.  These routines are based on an epoch date of 1970, and the behavior before that can be funny.

Exiftool cannot properly set file system dates between 1900:01:01 00:00:00 and 1970:12:31 23:59:59.

Since digital filesystems did not exists at the time you are trying to set, it is obviously incorrect metadata and you're using system date/time for something other than the intended purpose. 
* 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).

smussler

Yes FileCreateDate is what I am trying to write.  I am in the the process of taking Macro Photos of old 35mm slides.  I want to write the date of the original slide to the image.  I guess I'll stick with the DateTimeOriginal, which is working to meet my needs.  Thanks for the responses.  Steve Mussler