6 |
6 |
7 * Setting current date/time. |
7 * Setting current date/time. |
8 |
8 |
9 $ sudo date --set="2009-02-22 12:12:00" +"%Y-%m-%d %H:%M:%S" |
9 $ sudo date --set="2009-02-22 12:12:00" +"%Y-%m-%d %H:%M:%S" |
10 |
10 |
|
11 Or set utc time: |
|
12 |
|
13 $ sudo date --utc --set="2009-02-22 12:12:00" +"%Y-%m-%d %H:%M:%S" |
|
14 |
|
15 and then timezone: |
|
16 |
|
17 $ sudo tzconfig |
|
18 Your current time zone is set to Europe/Kiev |
|
19 Do you want to change that? [n]: y |
|
20 |
|
21 Please enter the number of the geographic area in which you live: |
|
22 |
|
23 1) Africa 7) Australia |
|
24 2) America 8) Europe |
|
25 3) US time zones 9) Indian Ocean |
|
26 4) Canada time zones 10) Pacific Ocean |
|
27 5) Asia 11) Use System V style time zones |
|
28 6) Atlantic Ocean 12) None of the above |
|
29 |
|
30 Number: 8 |
|
31 |
|
32 Then you will be shown a list of cities which represent the time zone |
|
33 in which they are located. You should choose a city in your time zone. |
|
34 |
|
35 Amsterdam Andorra Athens Belfast Belgrade Berlin Bratislava Brussels |
|
36 Bucharest Budapest Chisinau Copenhagen Dublin Gibraltar Guernsey Helsinki |
|
37 Isle_of_Man Istanbul Jersey Kaliningrad Kiev Lisbon Ljubljana London |
|
38 Luxembourg Madrid Malta Mariehamn Minsk Monaco Moscow Nicosia Oslo Paris |
|
39 Podgorica Prague Riga Rome Samara San_Marino Sarajevo Simferopol Skopje |
|
40 Sofia Stockholm Tallinn Tirane Tiraspol Uzhgorod Vaduz Vatican Vienna |
|
41 Vilnius Volgograd Warsaw Zagreb Zaporozhye Zurich |
|
42 |
|
43 Please enter the name of one of these cities or zones |
|
44 You just need to type enough letters to resolve ambiguities |
|
45 Press Enter to view all of them again |
|
46 |
|
47 Name: [] Kiev |
|
48 |
|
49 Your default time zone is set to 'Europe/Kiev'. |
|
50 Local time is now: Sun Feb 22 12:40:16 EET 2009. |
|
51 Universal Time is now: Sun Feb 22 10:40:16 UTC 2009. |
|
52 Your current time zone is set to Europe/Kiev |