Change System Time in Ubuntu

To change system time use the following command to change the time to 10:37:45 AM in Ubuntu:

sudo date -s 10:37:45

You would then be prompted for the password for root, enter it and the time would be set