D
|
danaci 11/16/2009 |
Hi All, I have developed web interface using MySQL database on Linux server PHP5.2 evaluation version Except one following issue everything is working fine. Information: ========= Table name :scripts Column name: jobstamp datatype datetime Scripts page -job_stamp properties settings :date View as datetime In scripts table I have 5 records matching Job_stamp 2009-11-12 06:42:15 Scripts -list page is showing all records. Problem: =========== In Scripts-Advanced search page :I have tried to search the records using following option; Job_stamp: EQUALS 2009-11-12 (selected this date using datepicker) But No results were found. Only EQULAS is failing,so to search the records using EQUALS option based on above datetime field which funtion is the best option? strtotime() or DATE_FORMAT In which page or which file I need to add funtion /event?and how to call this funtion,so that advanced search page will use this funtion and search the records added only on that exact date. Please help!! Thanks, --Anu
|
A
|
anu author 11/16/2009 |
what is O/S?
|
D
|
danaci 11/16/2009 |
if O/S windows set date time format from regional setting. |
![]() |
Admin 11/16/2009 |
Some extra steps are required if you need to make datetime field perform as a date during the search. |
A
|
anu author 11/16/2009 |
Hi , |