An earthquake of magnitude 4.0 on the Richter scale struck Assam's Nagaon on Sunday. The earthquake occurred at 4.18 pm today, the National Center for Seismology said.