[DUG] Daylight Saving & File DateTime Problem ?
Cheng Wei (FMI)
chengw at fmi.co.nz
Tue Mar 27 11:25:14 NZST 2007
Hi Myles,
Great!
"LocalFileTimeToFileTime" helped.
Thanks
Cheng Wei
|-----Original Message-----
|From: delphi-bounces at ns3.123.net.nz
|[mailto:delphi-bounces at ns3.123.net.nz] On Behalf Of Myles Penlington
|Sent: Tuesday, 27 March 2007 10:46 a.m.
|To: NZ Borland Developers Group - Delphi List
|Subject: RE: [DUG] Daylight Saving & File DateTime Problem ?
|
|Yep,
|
|Seen that kind of issue before with software. The answer is to
|reduce the time to GMT standard first before doing a compare.
|
|Myles.
|
|-----Original Message-----
|From: delphi-bounces at ns3.123.net.nz
|[mailto:delphi-bounces at ns3.123.net.nz] On Behalf Of Cheng Wei (FMI)
|Sent: Tuesday, 27 March 2007 10:27
|To: NZ Borland Developers Group - Delphi List
|Subject: [DUG] Daylight Saving & File DateTime Problem ?
|
|Morning all,
|
|We maintain a centralised repository of resource files and our
|customers use our software to synchronise their local copies
|with the repository by comparing several attributes of files
|on each end.
|
|Since the end of NZ Daylight Saving our Australian customers
|are forced to unnecessarily download all files that have not
|been modified what so ever, we suspect this is caused by the
|DLS as one of the attributes we compare is the file's last
|modified time stamp.
|
|Has anyone had this problem before and what's your advise?
|
|Regards
|
|Cheng Wei
|Software Development Manager
|FMI Research Ltd
|
|P: +64 9 984 4917
|F: +64 9 984 4993
|M: +64 21 410 776
|E: chengw at fmi.co.nz
|W: http://www.fmi.co.nz
|
|_______________________________________________
|Delphi mailing list
|Delphi at ns3.123.net.nz
|http://ns3.123.co.nz/mailman/listinfo/delphi
|
|Attention:
|This communication is confidential and may be legally
|privileged. If you are not the intended recipient, please do
|not use, disclose, copy or distribute it, other than to return
|it to us with your confirmation that it has been deleted from
|your system.
|
|_______________________________________________
|Delphi mailing list
|Delphi at ns3.123.net.nz
|http://ns3.123.co.nz/mailman/listinfo/delphi
|
More information about the Delphi
mailing list