Hi Guys,
I am trying to compare the date and time of some files based on the time zone.
For example, I keep track of release versions of certain files via a text file called File_releases.txt (see sample below). The date and times of these files are in Australia, Brisbane (GMT +10).
File_releases.txt
---------------------------------------------
INSTALL.EXE : 12:46 pm Fri 08 Jul 2005
INSTALL.DLL : 10:05 am Wed 04 May 2005
...
...
---------------------------------------------
Now, lets say I send these files to someone in the USA (GMT -6). How can I verify that these files have the same date & time as what I have in this File_releases.txt?
Basically I need to verify that the files they have are the SAME date and time as what I have sent them.
I have tried using the function FileTimeToLocalFileTime and
also tried using using the TTimeZoneInformation object but can't seem to get my head around this.
Thx.
_______________________________
There's no place like 127.0.0.1
_______________________________
I am trying to compare the date and time of some files based on the time zone.
For example, I keep track of release versions of certain files via a text file called File_releases.txt (see sample below). The date and times of these files are in Australia, Brisbane (GMT +10).
File_releases.txt
---------------------------------------------
INSTALL.EXE : 12:46 pm Fri 08 Jul 2005
INSTALL.DLL : 10:05 am Wed 04 May 2005
...
...
---------------------------------------------
Now, lets say I send these files to someone in the USA (GMT -6). How can I verify that these files have the same date & time as what I have in this File_releases.txt?
Basically I need to verify that the files they have are the SAME date and time as what I have sent them.
I have tried using the function FileTimeToLocalFileTime and
also tried using using the TTimeZoneInformation object but can't seem to get my head around this.
Thx.
_______________________________
There's no place like 127.0.0.1
_______________________________