Answers for "laravel convert timestamp to date"

PHP
0

laravel convert timestamp to date

laravel convert timestamp to date
date('Y-m-d', strtotime($date));

laravel convert date to timestamp
date('Y-m-d H:i:s', strtotime($date));
Posted by: Guest on April-08-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
0

convert date to timestamp in laravel builder

$date = '2021-05-20';
date('Y-m-d H:i:s', strtotime($date));
Posted by: Guest on May-20-2021

Code answers related to "laravel convert timestamp to date"

Browse Popular Code Answers by Language