Posts Tagged ‘brithday’

Working out an age in PHP

A friend just asked how I would work out someones age from their birthday. He said that searching the web came up with lost of people saying just subtract the year of the date from the current year; but this logic falls down when your birthday is later in the year than the current date, [...]