I have mysql database in which i have a datetime column i am saving date in format date("Y-m-d")
but my below query
"SELECT aid,glid FROM plan_vdetails WHERE location=16 and vdate2 between '2018-09-05' and '2018-09-05' group by aid,glid"
Return result of Month=05 as well no matter here i am giving it year 2018, month =09 and day = 05 ,
can some body help me

Packiaraj SanthiyaguRank #659 · 3.6K reputationPosted Sep 6, 2018, 7:31 PM EDT
Mark TaborRank #914 · 2.3K reputationPosted Sep 6, 2018, 8:13 PM EDT
");
");
'.$getvdetails['description'].'_'.getSingleValue('employees','fullname',' where id='.$getvdetails['claim_person']).'
Amit KumarRank #459 · 5.4K reputationPosted Sep 9, 2018, 8:35 PM EDT