file write time

simon.hodson at hssnet.com simon.hodson at hssnet.com
Tue Jun 13 08:46:15 PDT 2006


Anyone know an easy way of getting the last write time of a file into a UTC time
regardless of the source filesystem?

I need to equate update times on source files and have found that these times
can be different when the source files are stored on different filesystems. NTFS
uses UTC with no TimeZone) and FAT uses UTC with a TimeZone. The resolution also
appears to be different too, but I'll worry about that later.

Looks as though I need to find out the filesystem the source file is on then
make the correct translation to UTC.

Anyone got any ideas?


Regards

Simon



More information about the Digitalmars-d-learn mailing list