ExifTool Forum

General => Metadata => Topic started by: manni1 on June 25, 2018, 09:23:55 AM

Title: a question about correcting time data
Post by: manni1 on June 25, 2018, 09:23:55 AM
Hi,

I need to correct the years value of newly scanned slides from old days. The file dates are about actual, I need to set them into the past when the slides were made.

Something like exiftool-6 -FileModifyDate-="31:0:0 0" *.* works fine and sets the year 31 back. OK
A larger value to correct such as exiftool-6 -FileModifyDate-="55:0:0 0" *.* brings an error message =>  Warning: Sec too small - -8445 < 0 when shifting FileModifyDate - 62-D01-26.jpg

Is the a limit / a special year for valid year data?
Seems that the year 1970 is the first valid year.

Or do I miss soemthing?

Thanks for help
manni
Title: Re: a question about correcting time data
Post by: Phil Harvey on June 25, 2018, 09:36:46 AM
Hi Manni,

Yes.  ExifTool uses the C library date/time functions which are limited to the range 1970-2034 on many systems.

- Phil
Title: Re: a question about correcting time data
Post by: manni1 on June 25, 2018, 11:35:30 AM
Thank you, Phil  :)

fast answer !