in approve_date I have date stored in this form 2021-04-28 20:03:00 and i want to fetch all the record from passing 2021-04-28 so i tried this piece of code
Order::whereDate('approve_date' , 2021-04-28)->get()->sum('subtotal');
but the problem is i am getting 0 and in db subtotal(sum) is 700 of 3 rows