我有时间选择器控件
<cc1:TimeSelector ID="TimeSelector1" runat="server" DisplaySeconds="false"
SelectedTimeFormat="TwentyFour" />
我存储价值如下所述格式
DateTime time = DateTime.Parse(string.Format("{0}:{1}:{2} {3}", TimeSelector1.Hour, TimeSelector1.Minute, TimeSelector1.Second, TimeSelector1.AmPm));
但我从24小时格式的时间选择器中选择时间,但存储的值以12小时格式显示。我的意思是(I selected 22:00 from time selector but the time shows the selected value as 10:00 pm
)我应该在数据检索代码中做出哪些更改?