Does a 2012 car have OBD-II?
Gasoline: yes. OBD-II is required in the United States for gasoline cars of model year 2012.
Diesel: yes. OBD-II is required in the United States for diesel cars of model year 2012.
What counts is the model year. Look in the footwell to see whether your car has the port. It has 16 pins and usually sits below the steering wheel.
Regulation in the United States
In the US, all cars and light trucks from model year 1996 must have OBD-II. Some 1994 and 1995 models already had it.
In the US, OBD-II applies to diesel cars from model year 1997 according to the California Air Resources Board.
Sources: California Air Resources Board, OBD II Fact Sheet · U.S. EPA, Vehicle Emissions On-Board Diagnostics (archived)
Models from 2012 in the catalog
249 generations from 27 makes were built in 2012. The assessment for each year is on the generation page.