|All requests||>||I need to pick a date and return it t...||>||Request new recommendation||>||Featured requests||>||No recommendations|
by Dan Collins - 5 years ago (2017-05-19)
I need to pick a date and return it to a form in the MySQL/Oracle format for a DATE field.
with this package you can create your field "DBDateXX" in form. A Calendar show you for pick a date (personalize it with your language and format es "dd-mm-yyyy" or "mm/dd/yyyy", etc...), and return a valid data for mysql YYYY-MM-DD
MySql got different type of field for date and time but for date type only you have Year-month-day(0000-00-00).You can try this package and his method format_chosendate('Y-m-d') and more if you want time too.
This will generate your calendar. You will need to format the date on the server side, or alter the format of this calendar.