jquery datepicker format problem
Posted
by Sam Vloeberghs
on Stack Overflow
See other posts from Stack Overflow
or by Sam Vloeberghs
Published on 2010-03-21T11:21:55Z
Indexed on
2010/03/21
11:31 UTC
Read the original article
Hit count: 313
Hi
I'm having a problem trying to format the output on the jQuery UI datepicker.
I want the dateformat to be the 'ISO 8601' format, like explained here:
http://jqueryui.com/demos/datepicker/#date-formats
This is what my code looks like:
$.datepicker.setDefaults($.datepicker.regional['nl']);
$('.datepicker').datepicker('option', {dateFormat: 'yy-mm-dd' });
Can someone help and advice plz?
Thx in advance! I really trust this community for providing a quick and great answer! :)
© Stack Overflow or respective owner