How to concat and compare date and time column in laravel? Appetenza 0 minutes, 7 seconds To Read 2023-02-07 07:51:18 Laravel PHP MySql CONCAT_WS() function can do the concatenation along with a separator between strings whereRaw("CONCAT_WS(' ',`booking_date`,`start_time`) >= ?", [$prevdate])