using System.Runtime .InteropServices ;
[ StructLayout( LayoutKind.Sequential )]
public class SystemTime
{
public ushort year;
public ushort month;
public ushort dayOfWeek;
public ushort day;
public ushort hour;
public ushort minute;
public ushort second;
public ushort milliseconds;
}
class MainClass
{
[ DllImport( "Kernel32.dll" )]
public static extern void GetSystemTime( [In,Out] SystemTime st );
[ DllImport( "Kernel32.dll" )]
public static extern bool SetSystemTime( [In,Out] SystemTime st );
public static void Main(string[] args)
{