Answers for "laravel 8 timtamp none"

PHP
3

laravel current timestamp

use Carbon\Carbon;
$current_date_time = Carbon::now()->toDateTimeString(); // Produces something like "2019-03-11 12:25:00"
Posted by: Guest on March-03-2021
1

how convert the string time stamp to date in laravel

$timestamp = strtotime("13-10-2013 15:00");
Posted by: Guest on June-16-2021

Browse Popular Code Answers by Language