DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR PHP
laravel get age from date
$birth_date = '1994-07-02'; $age = CarbonCarbon::now()->diffInYears($birth_date); dd($age.' Years');
Source by carbon.nesbot.com #
PREVIOUS
NEXT
Tagged:
#laravel
#age
#date
ADD COMMENT
Topic
COMMENT
Name
5+6 =
Submit