Okay I found out which thing was causing this problem. When I uninstalled updates of four apps Facebook, Twitter, Gmail and ES File Explorer, the status bar clock was fixed. Right now I am not able to pin point which app was causing the problem but it has to be one of the four apps I mentioned.