N Nicholas Paldino [.NET/C# MVP] Jan 8, 2004 #2 QQ, You will have to call the SetSystemTime API call through the P/Invoke layer. You will also have to define the SYSTEMTIME structure, and perform a conversion from DateTime to SYSTEMTIME (which should be easy enough). Hope this helps.
QQ, You will have to call the SetSystemTime API call through the P/Invoke layer. You will also have to define the SYSTEMTIME structure, and perform a conversion from DateTime to SYSTEMTIME (which should be easy enough). Hope this helps.