I'm not sure computer science degrees necessarily do become obsolete quickly, personally I think a maths degree is better but I'm a bit biased there
Still a good computer science curriculum no doubt introduces functional programming, object orientated programming, computer architecture, data structures, algorithms, logic, discrete mathematics, databases etc.. etc..
It doesn't necessarily matter too much which languages are used to teach say functional programming or algorithms etc.. or what database is used as it is the concepts/theory that are more important.
I don't think there is too much in terms of core subjects at undergrad that is out of date from a curriculum taught a decade or two ago compared with today.
I might be a bit out of date - a lot of what I was taught was in the late 90s early 2000. Its likely courses, etc. have evolved since then