YES. It was real.
I was finishing an engineering degree (CSE) in 1992 and several of my peers took consulting jobs to work on Y2K issues. For nearly a decade a huge amount of work was done to review and repair code.
Y2K is the butt of many jokes, but the truth is: it didn't happen because the work was done to fix it. Sort of ironic.