How to set timezone?

Hi all!
My comp is connected to ntpserver, but after sychronization it shows the
right time but for another time zone. Does anybody know how to configure
time zone settings in qnx?
Thanks in advance,
Maxim

Maxim,

There should be a file named “TIMEZONE” in the /etc directory.

If you also look in the /etc/timezone/ dir is a file names “uc_tz_t” in this
file is the listing for different timezones. You can also add additional
timezones here.

Look thhrough the list and find the correct timezone and place this in the
/etc/TIMEZONE file.

eg. For Eastern Australia time I have put “east-10” in the TIMEZONE file.

In order to get you machine to then update it’s time off the NTP server you
will need rdate or equlivant.

Cheers Ben

“Maxim Dolgov” <coil@mail.ru> wrote in message
news:90tgbp$qm8$1@oak.rt.ru

Hi all!
My comp is connected to ntpserver, but after sychronization it shows
the
right time but for another time zone. Does anybody know how to configure
time zone settings in qnx?
Thanks in advance,
Maxim

The problem is that I haven’t got no TIMEZONE file in /etc dir. Yet when
type ‘date’ from the command line I’ve got it like ‘Mon Dec 11 11:15:36 utc
2000’, where ‘utc’ should be the name of Greenwich timezone. So it appears
like there’s some other way to set timezones. Does anybody know it?
Thanks in advance,
Maxim

Benjamin Rogers <brogers@NOSPAM.patrick.com.au> ÓÏÏÂÝÉÌ × ÎÏ×ÏÓÔÑÈ
ÓÌÅÄÕÀÝÅÅ:910rt5$24a$1@inn.qnx.com

Maxim,

There should be a file named “TIMEZONE” in the /etc directory.

If you also look in the /etc/timezone/ dir is a file names “uc_tz_t” in
this
file is the listing for different timezones. You can also add additional
timezones here.

Look thhrough the list and find the correct timezone and place this in the
/etc/TIMEZONE file.

eg. For Eastern Australia time I have put “east-10” in the TIMEZONE file.

In order to get you machine to then update it’s time off the NTP server
you
will need rdate or equlivant.

Cheers Ben