in mongodb date is stored in below format ,
"delivery_at" : {
"date" : "2018-11-15 13:41:38.000000",
"timezone_type" : NumberInt(1),
"timezone" : "+00:00"
},
in my search string date is passed as below,
$data = "2018-11-16";
my query is like below for mongodb,
$query->where("delivery_at", ">=", new \DateTime($data ));
but it not gives me expected result with mongodb