Get and set the times for creation, access and modification of a file or folder (Windows only)
Author: Jan Simon
Beaware, however that the times return by this function do not necessarily match those return by the MATLAB dir function. This seems to because Windows add an hour when reporting the time during daylight savings time (even if the file wasn't created during daylight savings time. See http://www.mathworks.com/support/solutions/en/data/1-1YLPX9/index.html?product=ML&solution=1-1YLPX9.)
MATLAB however does not do this.
I this function appears to return the Windows time. So I have run into problems when using the two functions together.