title: how to change time format to 24hrs? in c#
body: <pre><code>    Literal four = new Literal();
      string timeanddate;
      timeanddate = DateTime.UtcNow.ToString();
      DateTime dt = new DateTime();
      DateTime dt_calc = new DateTime();
      dt = Convert.ToDateTime(timeanddate);
      dt_calc = dt.AddHours(3);
      four.Text = "3hr added and this gives&gt;&gt;  " +  dt_calc.ToString();
      form1.Controls.Add(four);
  </code></pre>
  
  <p>its all in AM PM i want to work with 24hrs</p>