Вот простой фрагмент кода C #: Convert.ToInt32(TimeSpan.FromMinutes(5).TotalMilliseconds); //which...