I bought a shared VPN (Ubuntu 14.04) and installed my software. I am using wordpress and mongo. I need to read some data from mongodb converting seconds in time but my server is in New York and I am in Italy.
How can I change time?
Based on this link steps are:
sudo date --set
------------------------------ partially works.sudo hwclock --systohc
---------------- doesn't work.Error is:
Cannot access the Hardware Clock via any known method.
How can I succesfully change date/time?
/etc/timezone
? – Mark Plotnick Mar 15 '17 at 19:43TZ=Europe/Rome date
, does the time look correct? – Mark Plotnick Mar 15 '17 at 20:26