skip to Main Content

How to print date without time in laravel?

The following query is giving me time with date but i need only date .How do I do? $data = DB::table('kahanighar_ivr.kahani_cdr') ->select(DB::raw('count(*) as a'),'dst','calldate as ibdate',DB::raw('"kahani" as ser')) ->where('dst','like','%7787%') ->wheredate('calldate','>=',"$request->start") ->wheredate('calldate','<=',"$request->end") ->groupBy('dst')->groupBy('calldate') ->union(DB::table('kids_ivr.kids_cdr') ->select(DB::raw('count(*) as a'),'dst','calldate as ibdate',DB::raw('"kids" as ser'))…

VIEW QUESTION
Back To Top
Search