-
An app that I've written checks that the correct versions of certain files exist on a clients pc. As part of this process I compare the modified date/time of files to a set of expected date/times which are stored within my app.
This normally works fine, however I've just found out that when your 'Daylight Time Changes' are made (when your clocks are put back or forward an hour) Windows automatically updates the modified times on all your files to reflect the new time. If this happens and someone runs my app they get errors back saying that the actual time is not the expected time, which it is because windows has made it and hour greater (or less).
Is there any way to check if windows has updated your clock because of daylight time change, or is there perhaps a better way for me to compare the two times ???
Thanks.
-
If you know the date and the time when the action (Daylight Time) is activated. perhaps this
will make it easier for checking the dates.