WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

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

ali

  • Guest
[SOLVED] Timezone problems
« on: August 31, 2011, 11: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 03, 2011, 01:33:48 AM by ali »

Online Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11589

ali

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