Re: CTime, COleDateTime or SystemTime?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



I am writing an appication that runs continuously and records data at
specific times of day. This must not be disrupted by daylight saving changes.
what is the best way to represent the time in my application?

Tony,

I'd opt to store the times/dates as UTC rather than local times -
probably just using GetSystemTimeAsFileTime if you want to persist the
date/time as binary data.

Dave
.