@barrygee I think you can literally do what you've typed - give it a try :-) I don't have a laravel install on the machine I'm just now to test. The only gotcha might be that created_at and updated_at are automagically cast to and from carbon instances, and I can't remember if you still have to have a $dates = [ $extra_date, $birthday ]; array in your model to cast others if you needed it.
@ohffs i did try :) but unfortunately it didn't work :( i basically need to query the database and only return Variations with a 'created_at' date prior to a specified date. Sounds simple but i havent found a way to do it yet.
@barrygee It should work. E.g. I have a users table and fetch one of the records, let's say the record of Jane. Then something like ``\App\User::where( 'created_at', '<', $userJane->updated_at )->get();``` works just fine. I've just tried it with tinker. I'm not saying that the query makes sense, but it returns what it is supposed to return. What exactly are you trying to achieve?
What makes you say it doesn't work. Do you get any kind of error message or just not the records you think you should get?