PHP Classes

PHP Age Calculator: Calculate the age of a person with the birth date

Recommend this page to a friend!
  Info   View files Example   View files View files (2)   DownloadInstall with Composer Download .zip   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not yet rated by the usersTotal: 104 All time: 9,730 This week: 206Up
Version License PHP version Categories
age-calculator 1.0Freeware7PHP 5, Time and Date


This package can calculate the age of a person with the birth date.

It can take as parameter a given birth date to perform the calculation.

The class returns the number of years that passed since the given date until the current date.

Picture of Dannel
  Performance   Level  
Name: Dannel <contact>
Classes: 9 packages by
Country: Cuba Cuba
Age: 30
All time rank: 30488 in Cuba Cuba
Week rank: 298 Up3 in Cuba Cuba Up
Innovation award
Innovation award
Nominee: 5x


include 'Age.php';
$obj=new AgeCalculator();

  Files folder image Files  
File Role Description
Plain text file Age.php Class Main Class
Accessible without login Plain text file example.php Example Example script

 Version Control Unique User Downloads Download Rankings  
This week:0
All time:9,730
This week:206Up