title: How to use time selector in web application?
body: <p>I have a Time Picker control</p>
  
  <pre><code>&lt;cc1:TimeSelector ID="TimeSelector1" runat="server" DisplaySeconds="false" 
  SelectedTimeFormat="TwentyFour" /&gt;
  </code></pre>
  
  <p>And I am storing value like below mentioned format</p>
  
  <pre><code>DateTime time = DateTime.Parse(string.Format("{0}:{1}:{2} {3}", TimeSelector1.Hour, TimeSelector1.Minute, TimeSelector1.Second, TimeSelector1.AmPm));
  </code></pre>
  
  <p>But I select time from time selector in 24 hours format but the stored value shows in 12 hour format.I mean(<code>I selected 22:00 from time selector but the time shows the selected value as  10:00 pm</code>) What changes should I made in my data retrieving code??</p>