WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: [SOLVED] Timezone problems  (Read 3000 times)

ali

  • Guest
[SOLVED] Timezone problems
« on: August 31, 2011, 08:56:23 PM »
i can't get the timezone right
first i tried the tz bootcode, setting it to GMT+2
that didn't work

Code: [Select]
ali@mini:~$ sudo ntpdate pool.ntp.org
 1 Sep 01:48:57 ntpdate[7234]: step time server 83.166.201.100 offset -10797.441861 sec
ali@mini:~$ echo $TZ
GMT+2
ali@mini:~$ date #should be 06:49
Thu Sep  1 01:49:28 GMT 2011

then i set my tz to eet
Code: [Select]
ali@mini:~$ echo $TZ
EET
ali@mini:~$ sudo ntpdate pool.ntp.org
 1 Sep 03:52:18 ntpdate[7303]: adjust time server 89.18.20.11 offset 0.470471 sec
ali@mini:~$ date #should be 06:52
Thu Sep  1 03:52:33 EET 2011

and it still doesn't work
can anyone tell me what i'm doing wrong?
« Last Edit: September 02, 2011, 10:33:48 PM by ali »

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11289

ali

  • Guest
Re: Timezone problems
« Reply #2 on: September 02, 2011, 10:33:29 PM »
that worked, i don't know why i haven't seen that before