The metric system was officially recognized as a system of measurement that can be used in the United States on July 28, 1866
Source: 39t Congress, Chapter 301
"Be it enacted by the Senate and House of Representatives of the United States of America in Congress assembled, That from and after the passage of this act it shall be lawful throughout the United States of America to employ the weights and measures of the metric system; and no contract or dealing, or pleading in any court, shall be deemed invalid or liable to objection because the weights or measures expressed or referred to therein are weights or measures of the metric system"