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:35] – walkeradmin | show_set_date_and_time [2016/08/28 18:38] (current) – walkeradmin | ||
|---|---|---|---|
| Line 6: | Line 6: | ||
| \\ | \\ | ||
| ==== Show the Current time ==== | ==== Show the Current time ==== | ||
| - | \\ | ||
| - | \\ | ||
| To show the current date and time, using the currently configured timezone, from the command line use: | To show the current date and time, using the currently configured timezone, from the command line use: | ||
| \\ | \\ | ||
| Line 13: | Line 11: | ||
| \\ | \\ | ||
| ==== Show the Current UTC time ==== | ==== Show the Current UTC time ==== | ||
| - | \\ | ||
| - | \\ | ||
| To show the current UTC time, from the command line use: | To show the current UTC time, from the command line use: | ||
| \\ | \\ | ||
| date -u | 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.1472409322.txt.gz · Last modified: (external edit)
