An earthquake of magnitude 1.2 and depth of 1.90 kilometers occurred 6.74 miles from Niland, CA in Imperial County at 12:50 AM.