Time keeps changing


date --set 2017-11-26
date --set 19:03:00
hwclock --systohc

and a few hours later it is off by 4 hours


Do you have the right time zone set in tzdata? If this is set incorrectly then the OS may revert to that as default.

Check sudo dpkg-reconfigure tzdata


Thanks I think that was the missing step in setting the time