I am looking for a simple popup script that shows a calendar, to select the date, and that date appears in the Input field, int he format: YYYY-MM-DD.
I did find a good one, but you had to tell it first the format within the form, and without changing the format to the desired one it would not work; not even if it was set to that format by default.
Date popup needed, that will return YYYY-MM-DD format
Moderator: General Moderators
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Date popup needed, that will return YYYY-MM-DD format
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
-
simonmlewis
- DevNet Master
- Posts: 4435
- Joined: Wed Oct 08, 2008 3:39 pm
- Location: United Kingdom
- Contact:
Re: Date popup needed, that will return YYYY-MM-DD format
Funnily enough that is the very one I Was trying, but you have to add the dropdown option to enable the formatting of the date, and then you have to select the format to change the date.
I Want the user to be able to just select the date and it automatically uses said format.
I Want the user to be able to just select the date and it automatically uses said format.
Love PHP. Love CSS. Love learning new tricks too.
All the best from the United Kingdom.
All the best from the United Kingdom.
Re: Date popup needed, that will return YYYY-MM-DD format
No you don't. http://api.jqueryui.com/datepicker/#option-dateFormatsimonmlewis wrote:but you have to add the dropdown option to enable the formatting of the date