If you are having this problem, here’s the fix.

  1. Reinstall indicator-datetime. It should be installed by default, but just in case you have removed it unknowingly, it is best to run the install command again.
  2. Next, we are going to reconfigure the date time:
  3. Lastly, restart unity. That’s it. The date and time indicator will appear in the menu bar now.