Calculate age of a person from his date of birth

When I was working with a project, I wanted to calculate age using date of birth provided. So I implemented a method and made it an extension to datetime object. I am sharing this code with you guys

Happy Coding

Leave a Reply

Your email address will not be published. Required fields are marked *