title: Formatting an user input date.
body: <p>Is there a better way to format a date imputed by a user.  I have an input field where when clicked on a calender pops up and you can chose a date but the user also has the option to type in the date.  I want the user to be able to type in 1/12 and my javascript to format it to 01/12/2012. Is there an easy way to go about this with out having to do all types of checks? If not what is the best way to go about this?</p>