clintmcmahon@pm.me
  • Twitter
  • Instagram
  • RSS
  • Twitter
  • Instagram
  • RSS
Clint McMahon
  • Home
  • About
  • /Now
  • Blog
  • Photos
  • Contact
Select Page
How to calculate age in C#

How to calculate age in C#

by clintmcmahon | May 6, 2022 | ASP.NET, C#

Today I had a requirement to calculate someone’s age based on that person’s birthday. It seems like a pretty simple function to write, but I decided to Google around a little bit anyway to see if what other people were doing to calculate age based on...

Blogs I Like

  • Adam Silver
  • Andrew Lock
  • Guillermo Garron
  • Kev Quirk
  • Lee Robinson
  • Lorenz Weiß
  • Scott Hanselman
  • zwbetz

Recent Posts

  • Add role claims to an Azure B2C user flow access token
  • Develop .Net Core apps with a SQL Server database on a Mac
  • Migrate from R Shiny to a modern web framework
  • Tables not showing up in MySQL Data Export
  • .Net user secrets location in Windows and Mac

Archives

  • January 2023
  • December 2022
  • November 2022
  • October 2022
  • September 2022
  • August 2022
  • July 2022
  • June 2022
  • May 2022
  • April 2022
  • March 2022
  • February 2022
  • January 2022
  • December 2021
  • September 2021
  • June 2021
  • May 2021
  • April 2021
  • March 2021
  • February 2021
  • January 2021
  • December 2020
  • November 2020
  • October 2020
  • September 2020
  • July 2020
  • June 2020
  • May 2020
  • February 2020
  • January 2020
  • Twitter
  • Instagram
  • RSS

Designed by Elegant Themes | Powered by WordPress