The date on which Hammurabi wrote his famous Code is disputed by historians the world over. It is generally believed, however, to have been written between circa 1727 BCE and 1680 BCE.
yes he did because some people thought the law was unfair and they wrote the ones that were fair and unfair down. yea im smart. lolxz! (not) Hammurabi created the Hammurabi Code to promote justice...