I'm not sure about C#, but you can use WIN API call:
SYSTEMTIME st;
SetSystemTime(&st))
or directly invoke a DOS command (sorry Java :-)
string newDate = "01-06-04";
string newTime = "8:30";
Runtime.getRuntime().exec("CMD /c \"DATE " + newDate + "\"");
Runtime.getRuntime().exec("CMD /c \"TIME " + newTime + "\"");
"George LAZAR" <ge****@rasd.ro> wrote in message
news:ex*************@TK2MSFTNGP15.phx.gbl...
how can I change the system current date (time) using c#?
thank you
George