Set Time Zone/DateTime(CB for Banana Pi image)

1 6144
Post Last Edited by tony_zhang at 2014-5-4 12:43

Post Last Edited by tony_zhang at 2014-5-1 15:38

1.Set time zone
  1. sudo tzselect
Copy the Code
EG: Select the Asia , press Enter and chose China ,at last selet Beijing.

2. Cope file to /etc directory
  1. sudo cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
Copy the Code
3. Update time
  1. sudo ntpdate time.windows.com
Copy the Code
Ok this is how to  change timezone. But what happen to date and time if my banana pi is always offline and running for months?
Date and time will be never updated?

You have to log in before you can reply Login | Sign Up

Points Rules