but what I am struggling to get is when I select from the datepicker, the date that is entered into the field (and into the database) is 16 May 2013 (or whatever date has been selected) so that I can use it in that format elsewhere
at the moment I can only have it formatted (at the moment) as dd-mm-yy - anything else and i get invalid format .....