Support the ongoing development of →
Requests Database Eloquent
Last updated 1 year ago.

I like using a datetime field with something like:

$lastedit = date("Y-m-d h:i:s");

I'm not deciding a way forward for you but If you store them separate you can still concatenate them in SQL

select concat(`date`, ' ', `time`) as create_at from my_table order by created_at

Sign in to participate in this thread!


Your banner here too?

Sensors sensors Joined 8 Feb 2015


We'd like to thank these amazing companies for supporting us

Your logo here?

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 - All rights reserved.