hmm, well i still have the problem of converting the SYSTEMTIME format into the time_t format

its just the way that the WinApi retreives the selected date from the MonthCal control