SearchBuilder Requires DateTime when used with dates.
SearchBuilder Requires DateTime when used with dates.
I am a newbie but steadily learning. I set up Datatables with jQuery and it is working fine.
When I tried to use DataTables on a PHP generated table I received the error "SearchBuilder Requires DateTime when used with dates.". So I changed the field in the MySQL table from type DATE to type DATETIME. But I am still getting the same error. Do I need to add a jQuery line to my initialization file shown below? If so, could someone provide an example?
Thanks for any assistance. And thanks for a superb product! It is proving very useful for our non-profit organization.
Tim
This question has an accepted answers - jump to answer
Answers
PS The date format I would like is 2024-03-22.
Time is not needed.
Thanks again,
Tim
Hi Tim,
Sorry it isn't clear, the error message means that it needs the DateTime library. You can include it from the download builder.
Allan
Many THANKS for your quick and helpful reply!
Everything is working fine now.
Best Regards,
Tim in Montana USA