The 2nd Amendment : For Muskets Only?!

People have been telling us for years that the 2nd amendment was written in a time of Muskets, and that it doesn't apply to the evolved weapons of today. Is it true?