format 2013-02-01 00:00:00.000 in datetime picker jquery asp.net c#
  • hi please i have a record in database datetime like that 2013-02-01 00:00:00.000 but i want in datetime picker jquery to get like that format i use that :

    <script>

                   $(function() {

                       $( "input#dtTo" ).datepicker({dateFormat: "yyyy-MM-dd HH:mm:ss"});
                       $( "input#dtFrom" ).datepicker({dateFormat: "yyyy-MM-dd HH:mm:ss"});
                       $( "input#pdatedelivery" ).datepicker({dateFormat: "yyyy-MM-dd HH:mm:ss"});

                                });
    </script>


    but in result i get just that datetime :  20142014-July-08 HH:07:ss

    please can help me thank you so much :) .
  • 1 Comment sorted by

Howdy, Stranger!

It looks like you're new here. If you want to get involved, or you want to Ask a new Question, Please Login or Create a new Account by Clicking below

Login with Facebook

Popular Posts of the Week

Top Posters Weekly

Optimum Creative