All of a sudden, the “Menu Bar” (equivalent to what we call Taskbar in Windows) on my Ubuntu has stopped showing me date & time for some unknown reasons. My first instinct were to check the System Settings -> Time and Date
Everything is set but the time & date is nowhere to be seen in “Menu Bar”. Here is how I fixed it
Solution 1
sudo restart lightdm
Solution 2
sudo killall unity-panel-service
Note: If you time and date are not displaying since installation, then do the following before running the above command
sudo apt-get install indicator-datetime sudo dpkg-reconfigure --frontend noninteractive tzdata