Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js mysql date format and dmy format

<script>
        var myDate = new Date('2010-10-11T00:00:00+05:30');
        alert((myDate.getMonth() + 1) + '/' + myDate.getDate() + '/' + myDate.getFullYear());
    </script>
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #mysql #date #format #dmy #format
ADD COMMENT
Topic
Name
9+7 =