Hi,
since 2012 is in an odd decade, you need to account for leap years 2012 and 2016.
So if you add 1 for the leap year of 2012 you get:
8th (+8) , August (+1), decade (+5), year (+2), leap year (+1) = 17 / 7 = 3 --> Wednesday