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

I like using a datetime field with something like:

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

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
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Sensors sensors Joined 8 Feb 2015

Moderators

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

Your logo here?

Laravel.io

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

© 2024 Laravel.io - All rights reserved.