Y2K creation date

Hello,

In order to archive the photographs accumulated over many years. I scan old photographs and trying to date them.

For many photographs, I gave them an EXIF date is maintained as such.

By modifying the file creation date for that date EXIF PRIOR to January 1, 1970 at 01:00, the earlier date is recorded as the date of creation until AUTOMATICALLY changed to 1 January 1970 ....

What is wrong and how to fix it?

It seems to me that the Y2K (or MILLENIUM) the problem should be settled long ago ...

Thank you in advance for your help.

Raphael



My Mac:

MacBook Pro (13-inch, Early 2011) Processor 2.7 GHz Intel Core i7

8GB DDR3 memory 13333MHz

OS X Version 10.11.3 El Capitan

MacBook Pro, OS X El Capitan (10.11.3), MacBook Pro (Early 2011), Intel i7

Posted on Feb 24, 2016 5:48 AM

Reply
10 replies

Feb 24, 2016 6:11 AM in response to Dodoche49

file system dates have a limited storage space allocated. Therefore, a finite range of dates is available. On OS X, that range begins on Jan 1 1970.

You are confusing the file with the content of the file. A file is a physical storage location that must conform to the file system limitations. The image stored in the file may have an origination date before the available file system minimum. That information is called "metadata" and for photos is in the EXIF data. OS X also has its own metadata, and iPhoto and Photos stores its own metadata in the "Library"


So, you can't set a file creation date prior to Jan 1 1970. You should just edit the EXIF date.

Feb 24, 2016 9:11 AM in response to Barney-15E

Hello and thank you Barney-15E,

Thank you for your quick response also seems to confirm that the interim solution developed in the 1990s to pass the course of the year 2000 ( project called in this time Y2K or Millenium) is unfortunately still present. Indeed with 32 bits, 2 to the power 32 is just over 136 years with a resolution by the second (where a fictitious beginning at 1 January 1970 to reach without problems in 2106 with the resources that existed at this time .. ..).

Although EXIF used to date the photographs correctly, only the file creation date is visible in the Finder. And that is the crux of my question hoping that's now possible to display and store files / photos with dates prior to January 1, 1970.

Thank you for your help and / or tell me how you do it.

Cordially.

Raphael

Feb 24, 2016 9:23 AM in response to Dodoche49

It has little to do with Y2K (storing dates in programs using only 2-digit years), though both are related in the fact that it is a storage limitation. However it's not much of a limitation as you cannot create a file earlier than that date as computers really didn't exist, then. You can google for the history of the UNIX Epoch which may explain the choice of starting date. But, as I already stated, starting any earlier is utterly useless wrt a computer file system as no file could have been created prior to that date.


You should find another photo management solution other than the Finder as its limitations are not suitable to you.

Feb 25, 2016 3:28 AM in response to Dodoche49

I must confess I am not completely understanding your issue, however I can make the following comments.


  • If the camera has its date set properly and supports EXIF it should set the EXIF date in the file correctly, I would think all camera these days support EXIF
  • When transferring the photo to a Mac the Mac may only look at the file creation date and not the EXIF value, it could be some more stupid cameras cause the files to have a data value of zero which might translate to Jan 1 1970
  • It could be the date the Mac uses is the date the photo is copied to the Mac, if so and the Mac has its date set wrong perhaps because the battery has gone flat then this may again cause a default value for the date
  • It is possible to modify the creation date of a file and set it to a specific date using the following command in Terminal.app


touch -t [[CC]YY]MMDDhhmm[.SS] filename


See http://www.thegeekstuff.com/2012/11/linux-touch-command/ for more details and/or do man touch in Terminal.


The following webpage contains a shell script which reads EXIF data from the files and sorts them in to folders based on the EXIF date. This script could be used as a starting point to write your own which also reads the EXIF date from the file and then uses the touch command to set the Finder creation date to match.


See http://mikebeach.org/2011/12/10/bash-script-to-automatically-sort-photos-into-fo lders-based-on-exif-data-for-ubuntu-linu…


You could even put this script in to either an Automator service or make an AppleScript droplet application.

Feb 25, 2016 3:45 AM in response to Dodoche49

Any of the photo management apps, Photos, Lightroom, Picassa, etc., would provide the ability to see and edit the date shot. Photos uses the EXIF data to import that date, but it does not edit EXIF data. Your scanned images would not have any EXIF metadata as they were not created by a digital camera.

The Finder displays very little metadata, if at all. Since Apple makes an app to handle photo management, I would doubt they would put much effort into modifying the Finder to show the date shot of a photo.

Feb 26, 2016 1:42 AM in response to John Lockwood

Thank you John,

Thank you to make some proposals for my ranking problem of old photographs before 1970 (without EXIF date and often scanned from paper copies).

For now, I use the application "A Better Finder Rename 10" that gives me satisfaction as regards changes EXIF and file creation date.

My problem still lies in the automatic modification dates prior to 01.01.1970 by the Mac OS. There is currently no credible reason for this (indeed, in the 1970s, using only the last two digits for the year resulted in savings of memory that was in that time very expensive).

Best Regards

Raphael

Feb 26, 2016 1:43 AM in response to Barney-15E

Thank you Barney-15E,

Thank you to make some proposals for my ranking problem of old photographs before 1970 (without EXIF date and often scanned from paper copies).

For now, I use the application "A Better Finder Rename 10" that gives me satisfaction as regards changes EXIF and file creation date.

My problem still lies in the automatic modification dates prior to 01.01.1970 by the Mac OS. There is currently no credible reason for this (indeed, in the 1970s, using only the last two digits for the year resulted in savings of memory that was in that time very expensive).

Best Regards

Raphael

Feb 26, 2016 4:18 AM in response to Dodoche49

There is currently no credible reason for this

I already supplied that reason. There are no computer files that could have possibly been created before that date.

You ou are confusing the file with the content. A "file" is just a wrapper that holds the content, like an envelope holds a letter. The letter is not the envelope just as the image is not the file. You want to use the file system data to manage your content metadata and it does not.

I could type the words to Moby Dick into a Word document. That doesn't make the creation date of Moby Dick the date I saved the file. I have a copy of it stored inside a file just as you have a "copy" of real life stored in a file.

Feb 26, 2016 4:58 AM in response to Dodoche49

Dodoche49 wrote:


My problem still lies in the automatic modification dates prior to 01.01.1970 by the Mac OS. There is currently no credible reason for this (indeed, in the 1970s, using only the last two digits for the year resulted in savings of memory that was in that time very expensive).


UNIX Epoch date.(used widely in Unix-like and many other operating systems and file formats.)


>I wanted, however, whether a member of the Mac Forum had found a way to display photos/scans with dates prior to January 1, 1970 in Finder (with an

> additional column EXIF) or in another application


If you need to assign a date to the photo, and EXIF in not possible, you can always add the date to the file comments.


User uploaded file

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Y2K creation date

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.