An earthquake of magnitude 4.0 and depth of 10.30 kilometers occurred 5.02 miles from Magna, UT in Salt Lake County at 06:17 PM.