An earthquake of magnitude 1.2 and depth of 1.20 kilometers occurred 7.83 miles from Niland, CA in Imperial County at 12:04 AM.