The parsedate function is not working in the following: fiddle here
I am using jquery 1.10.2
What is wrong with the following?
<script>
$(document).ready(function() {
var date = new Date();
$('#date1').text($.datepicker.parseDate('ymmdd', date));
});
</script>
<html>
<body>
First date: <span id="date1"></span>
</body>
</html>