One of the cool things about being a software developer is this: if something doesn’t exist, and you want it to exist, you can make it exist. Today I was thinking about the fact that almost half of my life has been since high school. Then I started to wonder when exactly half a lifetime ago was.
new Date(Date.now()/2 + new Date(birthYear, birthMonth-1, birthDay)/2)
The code is also on GitHub: github.com/kiprobinson/halfALifetime