Hi Ross

The following link may be of some help,

http://www.cpearson.com/excel/LocalAndGMTTimes.htm


Kind Regards
Grant Brown

Ross Levis wrote:
> The recent daylight savings change in the US has highlighted a problem in my
> program.  I need to detect if a file has changed since it was loaded.  I'm
> doing that by storing the modified date/time of the file when it is loaded
> and checking the file date/time every few seconds.
>
> Windows physically stores the date/time of files in GMT (I believe) and
> applies the time zone offset when reading the date/time via API calls.
>
> Does anyone know if there is an API call that retrieves the raw (GMT)
> date/time without it being converted to the current locale?
>
> Thanks,
> Ross.
>
> _______________________________________________
> Delphi mailing list -> [email protected]
> http://lists.elists.org/cgi-bin/mailman/listinfo/delphi
>
>   

-- 
Kind Regards
Grant Brown

SiteDoc Pty Ltd
mob: 0412 926 995
www.sitedoc.com.au
__________________________________________________________________________________________________________
This email message together with any attachments is intended only for the 
addressee(s) and contains information that may be confidential and/or 
copyright.  If you are not the intended recipient, please notify the sender by 
reply email (or telephone SiteDoc Pty Ltd on +61 2 42291185) and immediately 
delete this email together with any attachments from your computer. If you are 
the intended recipient, you must not copy, disclose, reproduce or distribute 
this communication together with any attachments without the authority of 
SiteDoc Proprietary Limited. No representation is made that this email or any 
attachments are free of viruses. Virus scanning is recommended and is the 
responsibility of the recipient. Unless specifically stated by the sender as 
the views of SiteDoc Proprietary Limited, any views expressed in this message 
are those of the individual sender, and no responsibility will be borne by 
SiteDoc Proprietary Limited for its content or outcomes.


_______________________________________________
Delphi mailing list -> [email protected]
http://lists.elists.org/cgi-bin/mailman/listinfo/delphi

Reply via email to