>Thanks for the help... A friend told me about the FileTimeToSystemTime API call and I was wondering how the heck I was going to use that in FoxPro (I'm learning as I go, and I only started a few months ago).
You're welcome.
>If I just want the UTC stamp of when an existing file was modified, passing a datetime to UTC_TIME should work beautifully, correct? It's tacking 7 hours onto the modified date for my autoexec.bat, which I think is correct for Daylight Savings Time in CST...
Windows stores the date time stamps of a file in UTC time, so yes, it should work, provided, of course, that the machine is properly configured. I'm not sure, but I think it should only be adding 6 hours for Central. Here at 12:49 PM EST it's returning 5:49PM (adding 5).
>(I'm not sure if it's -7 or -5 in DS... if anyone knows, drop me a little reply.)
See Vlad Tatavu's FAQ (FAQ#7757) on how to determine this.
George
Ubi caritas et amor, deus ibi est