Answers for "laravel save timestamp to database"

PHP
2

laravel insert timestamp now

Information::create([
  'data_now'=>Carbon\Carbon::now()
])
Posted by: Guest on May-22-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

Code answers related to "laravel save timestamp to database"

Browse Popular Code Answers by Language