Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

laravel created_at changing

        $users = User::all()->each(function ($user){
            $user->show_time = $user->created_at->format("d/m/y h:m:sa");
        });
 
PREVIOUS NEXT
Tagged: #laravel #changing
ADD COMMENT
Topic
Name
2+3 =