Unclassified NewsBoard Code Reference

UnbAgeFromBirthday function

Calculate a User's age from his birthday [for use in ShowProfile]

function UnbAgeFromBirthday ($day, $month, $year);

Parameters:

day
month
year

Return value:

(int) user's age in full years

Implementation file: unb_lib/cp.inc.php, line 1477

© 2006 Yves Goergen. Unclassified NewsBoard Homepage. Reference based on UNB unb.devel.20060128, dated 2006-01-28.