I\'ve written a function to return the time_t value corresponding to midnight on a given day. When there is no midnight for a given day, it returns the earliest tim
time_t
Have you seen the SetTimeZoneInformation Win32 API function?