SinghWithLaravel
4 months ago
1114
27
Laravel

Change Date timezone in Laravel project while fetching date.

Posted 4 months ago by SinghWithLaravel

I want to change the datetime while fetching data from database. I could do that through accessors in laravel, but it will just affect the current model. How can i apply it to all tables ?

Please sign in or create an account to participate in this conversation.