Documentation = good

http://docs.jquery.com/UI/Datepicker/datepicker#options

dateFormat      String
The format for parsed and displayed dates. This attribute is one of
the regionalisation attributes. For a full list of the possible
formats see the formatDate function.

Format dates for ISO standard.

$("#txtdatefrom").datepicker({ dateFormat: 'yy-mm-dd' })

Reply via email to