ui datepicker date format

ui datepicker date format


Hello,<br />
I have an advanced search form that has an option to '<i> search posts from # days ago and older/newer</i>'. It's a text input that takes a number (so <b>365</b> would be a year ago).<br /><br />
<img src="http://farm3.static.flickr.com/2698/4204747156_0ed5645bc1_o.gif"><br /><br />
I want to use a datepicker, but I don't know how to change the format so that the date that is chosen is returned as a number of days from today.
<hr align="left" width="300">
View this message in context: <a href="http://old.nabble.com/ui-datepicker-date-format-tp26881395s27240p26881395.html">ui datepicker date format</a>
Sent from the <a href="http://old.nabble.com/jQuery-UI-Discussion-f27241.html">jQuery UI Discussion mailing list archive</a> at Nabble.com.


--