Click to See Complete Forum and Search --> : Setting system clock


Chris Meyer
July 8th, 1999, 08:42 AM
Hi all,

Wondering how to set the system clock from an MFC prog? I have a dialog with edit boxes for day, month, year, hour, min, sec, and radios for AM and PM. Anyone know how to do this?

Thanks in advance.

Regards,
Chris

"No! Try not. Do...or do not. There is no try."
- Yoda, Jedi Master

bimmer boy
July 8th, 1999, 08:52 AM
BOOL SetSystemTime(
CONST SYSTEMTIME *lpSystemTime // pointer to system time to set
);



miked