MT4 API Server Time
Server time updates with every quote so you need to get at least one quote to use it.
void Run() {    try    {       MainServer srv = QuoteClient.LoadSrv(@"GerchikCo-Demo.srv");       QuoteClient qc = new QuoteClient(67611, "wx1yhpn", srv.Host, srv.Port);       Console.WriteLine("Connecting...");       qc.Connect();       Console.WriteLine("Connected to server");       qc.Subscribe("EURUSD");       while (qc.ServerTime == DateTime.MinValue)          Thread.Sleep(10);       Console.WriteLine(qc.ServerTime);       Console.WriteLine("Press any key...");       Console.ReadKey();       qc.Disconnect();    }    catch (Exception ex)    {       Console.WriteLine(ex.Message);       Console.WriteLine("Press any key...");       Console.ReadKey();    } }