show_set_date_and_time
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| show_set_date_and_time [2016/08/28 18:12] – walkeradmin | show_set_date_and_time [2016/08/28 18:38] (current) – walkeradmin | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ===== Show/Set Date and Time ===== | + | ====== Show/Set Date and Time ====== |
| + | \\ | ||
| + | \\ | ||
| + | <color red> | ||
| + | \\ | ||
| + | \\ | ||
| + | ==== Show the Current time ==== | ||
| + | To show the current date and time, using the currently configured timezone, from the command line use: | ||
| + | \\ | ||
| + | date | ||
| + | \\ | ||
| + | ==== Show the Current UTC time ==== | ||
| + | To show the current UTC time, from the command line use: | ||
| + | \\ | ||
| + | date -u | ||
| + | \\ | ||
| + | ==== Mnaully set Date Time ==== | ||
| + | To manually configure the date and time, from a command line use: | ||
| + | \\ | ||
| + | sudo date -s "Thu Aug 9 21:31:26 UTC 2016" | ||
| + | \\ | ||
| + | ==== Set TimeZone ==== | ||
| + | To set your timezone, from the command line: | ||
| + | \\ | ||
| + | 1. sudo raspi-config | ||
| + | 2. Internationalization options | ||
| + | 3. Change Time Zone | ||
| + | 4. Select geographical area | ||
| + | 5. Select city or region. | ||
| + | 6. Reboot your pi. | ||
| \\ | \\ | ||
| \\ | \\ | ||
| - | |||
show_set_date_and_time.1472407976.txt.gz · Last modified: (external edit)
