Wrong value for File::getCreationTime()


File::getCreationTime()  return the File::getLastModificationTime instead of Creation Time for file and folder.


For now test on osx 10.6.8 with the helloworld example project from the JUCE-master zip download today.

Yes, I think some file systems don't actually provide a creation time.

Why not use st_birthtime instead of st_ctime in File::getFileTimesInternal ?

I don't think that's available in all OS versions.

As far as I understand the informations I found, it should be supported on all OSX (it is after all in the Darwin reference)



It is working on my iMac for 10.6.8, 10.7.5, 10.8.5 and 10.9.5.

ok, thanks, I'll have a look.

Base SDK need to be Mac OS X 10.6 or latter

Mac OS X Deployment Target need to be Mac OS X 10.6 or latter


For now the use of st_birthtime birthtime instead of st_ctime seems to be great for my current needs.

Hope this can be of use for you also.