Question and answer is powered by AnsPress.io
protected $dateFormat = 'Y-m-d h:i:s'; const CREATED_AT = 'created_at'; const UPDATED_AT = 'updated_at';
I have added these lines in my Laravel model to auto-inserted and updated dates in my MySQL table using Laravel. Now I want to off the dates, how can I do it?