www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.learn - file write time

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
Jun 13 2006