How to concat and compare date and time column in laravel?

CONCAT_WS() function can do the concatenation along with a separator between strings


whereRaw("CONCAT_WS(' ',`booking_date`,`start_time`) >= ?", [$prevdate])


 

Comments

Leave a Reply