Get time from Ubuntu's time server:
ntpdate ntp.ubuntu.com
Select time zone:
tzselect
Use the following commands to read the hardware clock, read the hardware clock localtime, update it, update it to localtime, update the system clock from the hardware clock:
/sbin/hwclock /sbin/hwclock --localtime /sbin/hwclock --systohc /sbin/hwclock --systohc --localtime /sbin/hwclock --hctosys /sbin/hwclock --hctosys --localtime