Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
590
Unable to get time value in correct format in Javascript
posted

Hi Team,

Unable to get correct format Time (HH:mm) value in WebDateTimeEditor control in JavaScript.Time format showing like(|0|012015-4-8-14-12-32-789||) but I need (HH:mm) format.

Please let me know how to achieve this

 Code File :

<ig:WebDateTimeEditor ID="startTime" Width="40px" CssClass="tableElement" runat="server"

EditModeFormat="HH:mm" ClientIDMode="Static">

</ig:WebDateTimeEditor>

<asp:Button ID="btnSave" runat="server" CssClass="ButtonText" Text="Calculate" EnableViewState="false"/>

Thanks

Ranganathan Palanisamy