Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

time duration calculation laravel

$t1 = Carbon::parse('2016-07-05 12:29:16');
$t2 = Carbon::parse('2016-07-04 13:30:10');
$diff = $t1->diff($t2);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #time #duration #calculation #laravel
ADD COMMENT
Topic
Name
1+7 =