There is a way to change Ubuntu's system time in the GUI Date & Time Settings, however, as with most tools, I'm assuming that is just a front-end for one of Ubuntu's command-line tools.
What commands does Ubuntu use to get or set the system time? Can these be used in Bash scripts, or are they limited to only be executable by the system?