G
Guest
Hi, friends,
I use the following C# code to find out date/time for all files in a
directory: (Those files are retrieved from VSS).
VSS_Item.Get(ref tempFile, (int) SourceSafeTypeLib.VSSFlags.VSSFLAG_TIMEMOD);
if (File.Exists(tempFile))
FileDate = File.GetLastWriteTime(tempFile).ToString();
However, some of FileDate values are the same as shown in window Exploer and
VSS, some of them are 1 hour later.
Could anyone show me why and how to correct this?
Thanks a lot.
I use the following C# code to find out date/time for all files in a
directory: (Those files are retrieved from VSS).
VSS_Item.Get(ref tempFile, (int) SourceSafeTypeLib.VSSFlags.VSSFLAG_TIMEMOD);
if (File.Exists(tempFile))
FileDate = File.GetLastWriteTime(tempFile).ToString();
However, some of FileDate values are the same as shown in window Exploer and
VSS, some of them are 1 hour later.
Could anyone show me why and how to correct this?
Thanks a lot.