Answers for "laravel Carbon timestamp after 5 min"

PHP
2

php carbon get timestamp

Carbon::now()->timestamp
Posted by: Guest on April-01-2020
1

add seconds to datetime carbon

Try to parse() it first:
$date = Carbon::parse($dateTime)
            ->addSeconds($seconds)
            ->format('Y-m-d H:i:s');
Posted by: Guest on July-06-2020

Code answers related to "laravel Carbon timestamp after 5 min"

Browse Popular Code Answers by Language