Time Field Time Format Setting
Hi All,
I have a small problem with Time Field.i.e if i place TIme Field on my Form that Time Field Can take The Time Format As P.M.
So i want the Format As A.M whethet it is A.M and P.M whethet It is P.M.
I can Try These Below
SourceCode:
Code:
<ext:TimeField ID="ddlFromValidTime" runat="server" MinTime="9:00" MaxTime="18:00"
Width="100" Increment="30" />
CodeBehind:
Code:
ddlFromValidTime.SelectedTime = DateTime.Now.TimeOfDay;
But The problem is when i load the page at 11.00A.M Then the DateField will Show the Time As 11.00P.M
So Plz Solve My Problem
Thanks In Advance