function show() { // $this->render("test/ $s = ST::microtime_float(); $start = '2015-11-30'; $end = '2016-01-11'; $events = Vks::where('start_date_time', ">=", $start)->where('start_date_time', '<=', $end)->where('status', VKS_STATUS_APPROVED)->get(); $e = ST::microtime_float(); print $e - $s; }