$('#somedate').datepicker('getDate') returns null.
With val() I can get text , but I would like to get Date type value. I would like to aviod conversion problems. I have similar problem with setting initial date from js.
I havent found any detalied doc.
Is it possible to get Date value or not?