public class Win32
{
[DllImport("kernel32.dll")]
public static extern bool SetLocalTime(ref DT dt);
}
public struct DT
{
public short wYear;
public short wMonth;
public short wDayOfWeek;
public short wDay;
public short wHour;
public short wMinute;
public short wSecond;
public short wMillisecond;
}