I've been developing in .Net for 12 years. It's still relevant.
I started using Linq with C# in 2008 and using it with Sql Server. Now I'm using Linq with the Mongo driver.
JavaScript and Bootstrap are just as relevant today as it was 5 years ago. In 2007 if you knew Java or .Net you were marketable as an enterprise developer. In 2017, you are just as marketable.
The fundamentals don't change that much.
Imagine only developing .Net from 2005-2007, would you still be interested in their .Net skills if that person switched to Java and has't touched .Net since?
"Any coding/tech you've done more than 5-10 years ago and haven't touched since, isn't relevant any more." <- better?
But that two-month project of C++ which you haven't used since 2012 really doesn't matter for me. I will ask about it, and you will tell me "I haven't used that since..". Or that framework you used in 2007-2009, and then died out and which nobody uses today any more, I don't really care.
I tend to disagree. Not only a lot of five years old technology is still relevant today, but someone that showed great skills 5/10 years ago has still great potential today.