Get the Number of Years Between Two Dates with PHP and JavaScript

Standfirst image: Adam Tinworth

Aged like fine wine?

This article is over seven years old, maybe 'aged like milk' would be more accurate...

Things can and do move very quickly in tech, which means that tech-related articles go out of date almost as soon as they have been written and published. If you are looking for up-to-date technical advice or opinions, you are very unlikely to find them on this page.

You may find my more recent writing is more relevant, and you are always welcome to drop me a line if you have a specific technical problem you are trying to solve.