>I have an app that is creating log files to send back to our home office. The problem is that our users are all over the country.
>Since we are in Virginia they want all the log files i create to reflect eastern standard time regardless of the time zone the are in.
>
>does anyone know how to do this?
>
>they would probably accept GMT if that was all i could do, however they would prefer eastern time.
>
>any ideas?
Gray,
I was involved in a thread (on GetTimeZoneInformation) awhile back. Do a search for this under the Win32 section. I think you'll find the details you'll need.
Just a personal thought here. I'd use UTC (Universal Coordinated Time)time. It's not affected by the changes from Eastern Standard to Daylight and back again. It would take this problem right out of the mix.
George
Ubi caritas et amor, deus ibi est