title: Converting time to Military
body: <p>In an attempt to turn a date with a format of <code>"mm/dd/yyyy hh:mm:ss PM"</code> into military time, the following replacement of a row value does not seem to take. Even though I am sure I have done this before (with column values other than dates). Is there some reason that <code>row["adate"]</code> would not accept a value assigned to it in this case?</p>
  
  <pre><code>DateTime oos = DateTime.Parse(row["adate"].ToString());
  
  row["adate"] =  oos.Month.ToString() 
                + "/" 
                + oos.Day.ToString() 
                + "/" 
                + oos.Year.ToString() 
                + " " 
                + oos.Hour.ToString() 
                + ":" 
                + oos.Minute.ToString();
  </code></pre>