Hi all:
I have a RadDateInput set up thus:
<telerik:RadDateInput ID="dt1" runat="server" Culture="en-US"
DisplayDateFormat="dd MMM yyyy" Font-Names="Verdana"
Font-Size="12px" Height="22px" LabelCssClass=""
Style="z-index: 116; left: 16px; position: absolute; top: 50px" TabIndex="189"
Width="85px">
</telerik:RadDateInput>
and when I enter a date, like 2011 1 1, it displays correctly as 01 Jan 2011, however if I then grab the value from the Input, I get: 2011-01-01-00-00-00.
Can anyone tell me how I can drop the extra values (which I assume are for time) and be left with 2011-01-01?
John.
I have a RadDateInput set up thus:
<telerik:RadDateInput ID="dt1" runat="server" Culture="en-US"
DisplayDateFormat="dd MMM yyyy" Font-Names="Verdana"
Font-Size="12px" Height="22px" LabelCssClass=""
Style="z-index: 116; left: 16px; position: absolute; top: 50px" TabIndex="189"
Width="85px">
</telerik:RadDateInput>
and when I enter a date, like 2011 1 1, it displays correctly as 01 Jan 2011, however if I then grab the value from the Input, I get: 2011-01-01-00-00-00.
Can anyone tell me how I can drop the extra values (which I assume are for time) and be left with 2011-01-01?
John.