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

I didn't get a chance to test it..but..couldn't you use a mutator in this case? something like

class YourModel extends Eloquent {

    public function setCreatedAtAttribute($value)
        return YOUR_MILLI_SECONDS;


Last updated 1 year ago.

Sign in to participate in this thread!


Your banner here too?

KarlPi karlpi Joined 20 Mar 2014


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.

© 2023 - All rights reserved.