Cannot hide clock in 18.04 LTS
To completely hide the clock from top panel you can use Clock override GNOME extension, which lets you have a custom clock format. Then in the extension settings leave the text field in front of Text to display instead of the clock
empty. Refer to this question for how to install GNOME extension.
Source: extensions.gnome.org