Yes, you can use Dconf-editor or Configurator and go to com.canonical.indicator.datetime and enable show-seconds
Or just paste this in your terminal:
gsettings set com.canonical.indicator.datetime show-seconds true
If you don't want to show seconds anymore you can use this:
gsettings set com.canonical.indicator.datetime show-seconds false
Make Linux use 'Local' time
To tell your System that the hardware clock is set to 'local' time:
sudo nano /etc/default/rcS
# change the following section
# assume that the BIOS clock is set to UTC time (recommended)
elementary OS & Linux Mint are based on Ubuntu. So most commands from Ubuntu are also working on elementary OS & Mint.
Yes, you can run this in terminal
gsettings set io.elementary.desktop.wingpanel.datetime clock-show-seconds true
if you want to disable it replace true with false:
gsettings set io.elementary.desktop.wingpanel.datetime clock-show-seconds false
As user Amphyby commented, this is a known situation when you install a distro in dual boot configuration with Windows.
Basically what is happening is that Windows reads the computer time as local time, while elementary reads it as UTC.
Easiest way to solve it is to just run this command in the terminal to set elementary to also read time as local:
I had a similar issue - search gave me the following which fixed my issue. Basically your system bios clock setting is the reference point to work from before changing your OS settings.
There was a known bug in the indicator that caused the time to be up to 1 minute out of sync with the system time, especially when sleeping and resuming the computer.
You can read more information about the issue and how it was fixed here if you're interested:
Code has been pushed to ...
Try reinstalling it:
sudo apt remove wingpanel-indicator-datetime
sudo apt install wingpanel-indicator-datetime
That will remove and re-install the date "indicator" of the menu bar (known as wingpanel). Are you still having this issue in Loki?