India's first nuclear test was in 1974, 24 years before the 1998 tests.
Pakistan had nukes no later than 1990--Robert Gates (then Deputy Director of Central Intelligence) had the dubious honor of going to Islamabad and briefing Prime Minister Benazir Bhutto about the (small) nuclear arsenal her military had piled up without her knowledge.
Thanks for the information.