How to specify the output date format with UI.Datepicker.

How to specify the output date format with UI.Datepicker.


Using
$('#StartDate').Datepicker({ dateFormat: 'dd-M-yyyy' });
~or~
$('#StartDate').Datepicker({ dateFormat: 'mm/dd/yy' });
to initialize the UI DatePicker to return a specific date format.
It produces an error: (using jQuery 1.3)
The error returned from VSExpress is: Object doesn't support this
property or method.
$('#StartDate').Datepicker(); does not produce an error but does not
return the correct format.
any light shed on this issue will be greatly appreaciated.
RobGMiller...