I have multiple sources regarding the code of Hammurabi/Hammurapi and they have two conflicting dates of origin. Some give a date of compilation at near 1795-1750 B.C and some date it at 2250 B.C. Various internet sites have used both dates.
Which dating is more accurate? Looking at my sources it would seem an 18th century B.C. dating reflects current scholarship.
My older sources list a 2250 date. But the Avalon Project has an introduction from 1915 which lists a 1795-1750 date. (McKelvie's Megaphone History and Law 1920, and Duncan, George S. "The Code of Moses and the Code of Hammurabi. 1904")
My newer sources list a date 1792-1750. (Coogan, Michael David. A Reader of Ancient Near Eastern Texts: Sources for the Study of the Old Testament. New York: Oxford UP, 2013. Print. and Roth, Martha Tobi., Harry A. Hoffner, and Piotr Michalowski. Law Collections from Mesopotamia and Asia Minor. Atlanta, GA: Scholars, 1997. Print.)