Need Calendar field in PHP to select date

I'm sure it's here somewhere but I am out of time.  I am a programmer but fairly new to PHP / javascript.
I need code for a (read only) date input field with a small Calendar image that when clicked, displays a calendar with the current date selected.  When the user selects a date, it fills in the field.
Then I need how to change that date from MM/DD/YY to YYYY/MM/DD for output to the database.
The simpler the better.
This should be really easy for you pros!
dcassAsked:
Who is Participating?
 
Amar BardoliwalaCommented:
Hello dcass,

Please look at following links. It will help you to select and integrate proper calendar with php script.


http://www.nogray.com/calendar.php

http://www.javascript-examples.com/javascript-calendars/

http://javascriptcalendar.org/javascript-date-picker.php

http://www.triconsole.com/php/calendar_datepicker.php

Hope this will help you.

Thank You.

Amar Bardoliwala
0
 
Dave BaldwinFixer of ProblemsCommented:
0
 
amiguraCommented:
best one to use as it gets updated

http://jqueryui.com/demos/datepicker/#date-formats
0
 
Ray PaseurCommented:
I agree that the jQuery date picker is the best.  You see it everywhere.

As far as learning how to handle date format conversions, this article will be helpful.  The PHP functions date() and strtotime() work well together.
http://www.experts-exchange.com/Web_Development/Web_Languages-Standards/PHP/A_201-Handling-date-and-time-in-PHP-and-MySQL.html
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.