1: 2:
DateTime serverTime = service.GetServerTime(); Int32 dayDiff = Convert.ToDateTime(e.Row.Cells[4].Text).Subtract(serverTime).Days;