PhotoDateChanger
Easily change the dates and times on your photos and videos
Click here for more info about the app
VocabReminder
English dictionary with notifications so you won't forget what you're studying!
Click here for more info about the app
VocabQuiz
The app that quizzes and scores you on your vocabulary!
Click here for more info about the app

How to Calculate Age with PHP

       

Calculate age in PHP

$your_birthday = '1982-08-29';
$difference = date_diff(date_create(), date_create($your_birthday));
$age      = $difference->format('%Y');
// 35

Short and sweet

Tagged w/ #php #snippets #dates #times #code