Minimum Windows FileCreate/ModifyDate

Started by StarGeek, June 08, 2020, 02:17:39 PM

Previous topic - Next topic

StarGeek

It's been known for a while that the Perl date/time routines have a problem with setting Windows timestamps to dates in and before the 60s.  Back in 2018, I narrowed down the problem to dates before 1968:12:31 23:59:59.

Strangely, that time has been advancing ever since.  Currently, any time before 1971:01:01 00:00:00 becomes inaccurate.

The earliest the date gets corrupted is still 1900:01:01 00:00:00.  1899:12:31 23:59:59 and earlier works fine.
* 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).

Phil Harvey

...where DIR is the name of a directory/folder containing the images.  On Mac/Linux, use single quotes (') instead of double quotes (") around arguments containing a dollar sign ($).