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: 103 All time: 9,715 This week: 108Up
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: 30488 in Cuba Cuba
Week rank: 368 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:103
This week:0
All time:9,715
This week:108Up