The Cutting Edge Tech Blog


Calculating age from Date of birth by FSherratt

Calculating age from Date of Birth

This has baffled me for years but a couple of nights ago I finally cracked it. How to accurately work out someones Age from their DOB. For this tutorial I’m using the english method of presenting dates DD-MM-YYYY rather than the american way.

It actually rather simple by comparing the date of birth to the current date you can not only work out their age but also whether it’s their birthday or not.

Continue reading

Advertisements


Download Our RSS Widget by Xptiger

Download Our RSS Widget

You can now stay up-to date with all out entries from the comfort of your own desktop with our new RSS widget. Get the latest posts sent straight to your computer.

Continue reading