Richard Coffre
asked on
JQuery, datepicker and yy-mm-dd
Hi all,
I'm trying to use the Datepicker widget but I'm failing to set the following format "yy-mm-dd" aka ISO Format.
This is the code I use, but this is not the right date format:
Any ideas?
Best regards,
Richard
I'm trying to use the Datepicker widget but I'm failing to set the following format "yy-mm-dd" aka ISO Format.
This is the code I use, but this is not the right date format:
<link rel="stylesheet" href="//code.jquery.com/ui/1.11.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.10.2.js"></script>
<script src="//code.jquery.com/ui/1.11.4/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">
<script>
$(function() {
$( "#teaching-when" ).datepicker();
});
</script>
Any ideas?
Best regards,
Richard
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.