I installed Ubuntu on my Desktop but during the install I selected the option “Hardware clock set to UTC”, This messed up the time on the computer as the hardware clock was in fact set to EST. to fix this I had to
- edit the /etc/default/rcS file with the command
sudo gedit /etc/default/rcS
- Change UTC=yes to UTC=no and restart computer