An earthquake of magnitude 2.1 and depth of 6.80 kilometers occurred 2.27 miles from Union City, CA in Alameda County at 06:24 PM.