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 This week: 1All time: 9,716 This week: 560Up
Version License PHP version Categories
age-calculator 1.0Freeware7PHP 5, Time and Date
Description 

Author

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: 30438 in Cuba Cuba
Week rank: 411 Up1 in Cuba Cuba Up
Innovation award
Innovation award
Nominee: 5x

Example

<?php
include 'Age.php';
$obj=new AgeCalculator();
echo
$obj->Age('1993/07/16');
?>


  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  
 0%
Total:104
This week:1
All time:9,716
This week:560Up