Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to change system time? 1

Status
Not open for further replies.

mingis

Programmer
Jan 23, 2002
475
LT
If it is possible, it probably claims to be an Administrator under WinNT/W2k, nevertheless - what is the call?
 
From MSDN:
Code:
The SetSystemTime function sets the current system time and date. The system time is expressed in Coordinated Universal Time (UTC). 

BOOL SetSystemTime(
  CONST SYSTEMTIME *lpSystemTime   // address of system time to set
);
Print SetSistemTime in VC++, move cursor on the word, press F1...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top