Hi
I thought my logic was incorrect. In select sql, it selects it from DB with where condition completedate > startdate and execute strtodate(). But, not execute strtodate() and select with completedate > startdate condition.
So, I changed all input date by the following:
$y = "0";
$ym = $y * 60;
$my = $ym * 60;
$gmdate = gmdate("YmdHis", time()+($my));
It shows the bigint 20080423182214. It is int type now.
However, the completedate > startdate condition still not work and show all records.
Any advice?