digitalmars.D.learn - file write time
- simon.hodson hssnet.com (11/11) Jun 13 2006 Anyone know an easy way of getting the last write time of a file into a ...
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