How to change Timezone in VirtualBox (Guest OS is Linux)

Ref: https://www.vpnttg.com/installation/virtualbox

List the Timezone
$ timedatectl list-timezones
Set the Timezone (e.g., Asia/Bangkok)
$ sudo timedatectl set-timezone Asia/Bangkok
Verify new setting by the following two commands,

  • date command: show date and current time
    $ date
  • ls -l /etc/localtime command: show Timezone info
    $ ls -l /ect/localtime

One thought on “How to change Timezone in VirtualBox (Guest OS is Linux)

Leave a Reply

Your email address will not be published. Required fields are marked *