According to this documentation http://jqueryui.com/demos/datepicker/#option-altFormat
I can set a different date format for viewing by the user and a different format for actually sending to the server.
However, both look the same.
Here is my code:
$("#joindate").datepicker({ dateFormat: $.datepicker.TIMESTAMP, altFormat: 'yy-mm-dd' });
And I would like the user to see the yy-mm-dd format and send the timestamp to the server using my mail request. I switched the altFormat and dateFormat values, but either get yy-mm-dd in both (text field and $ _POST), or in the timestamp in both.
Is there a workaround to this?
Hrishikesh choudhari
source share