rdate vs rtc net (6.2.1)

bridged with qdn.public.qnxrtp.applications
Post Reply
Alain Bonnefoy

rdate vs rtc net (6.2.1)

Post by Alain Bonnefoy » Tue Aug 26, 2003 5:58 am

Hi,
My server is set with:
timezone on France
Hardware clock uses UTC/GMT unchecked.
Use Daylight Savings Time checked
time on 7:50
Set Real Time Clock checked.

On a target, set with same parameters as above.
I type 'rdate Serveur_qnx' and I get 7:50 CEST. Ok
If I type 'rtc net Serveur_qnx', I get 6:50 CEST.

Why?

Thanks,
Alain.

Colin Burgess

Re: rdate vs rtc net (6.2.1)

Post by Colin Burgess » Tue Aug 26, 2003 1:04 pm

I think you need rtc -l net Serveur_qnx

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
Hi,
My server is set with:
timezone on France
Hardware clock uses UTC/GMT unchecked.
Use Daylight Savings Time checked
time on 7:50
Set Real Time Clock checked.

On a target, set with same parameters as above.
I type 'rdate Serveur_qnx' and I get 7:50 CEST. Ok
If I type 'rtc net Serveur_qnx', I get 6:50 CEST.

Why?

Thanks,
Alain.


--
cburgess@qnx.com

Alain Bonnefoy

Re: rdate vs rtc net (6.2.1)

Post by Alain Bonnefoy » Wed Aug 27, 2003 11:57 am

exactly;
Thanks,
Alain.

Colin Burgess a écrit:
I think you need rtc -l net Serveur_qnx

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:


Hi,
My server is set with:
timezone on France
Hardware clock uses UTC/GMT unchecked.
Use Daylight Savings Time checked
time on 7:50
Set Real Time Clock checked.





On a target, set with same parameters as above.
I type 'rdate Serveur_qnx' and I get 7:50 CEST. Ok
If I type 'rtc net Serveur_qnx', I get 6:50 CEST.





Why?





Thanks,
Alain.







Colin Burgess

Re: rdate vs rtc net (6.2.1)

Post by Colin Burgess » Wed Aug 27, 2003 1:11 pm

BTW - why don't you have your server set to UTC/GMT?

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
exactly;
Thanks,
Alain.
--
cburgess@qnx.com

Alain Bonnefoy

Re: rdate vs rtc net (6.2.1)

Post by Alain Bonnefoy » Thu Aug 28, 2003 8:22 am

I don't know, Why?

Alain.

Colin Burgess a écrit:
BTW - why don't you have your server set to UTC/GMT?

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:


exactly;
Thanks,
Alain.





Bill Caroselli

Re: rdate vs rtc net (6.2.1)

Post by Bill Caroselli » Thu Aug 28, 2003 1:10 pm

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

AB > --------------020102000901080203080402
AB > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
AB > Content-Transfer-Encoding: 8bit

AB > I don't know, Why?

AB > Alain.

AB > Colin Burgess a crit:
BTW - why don't you have your server set to UTC/GMT?

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

The UNIX philosophy is to set the clock to UTC/GMT time. Then each
user can export a TZ (time zone variable). Any times displayed or
interpreted are done using the local time zone.

It means that you can have dial-up users in different time zones on
the same computer and they can all see the correct current local time.

It also helps when transmitting data from time zone to time zone. You
stamp the data with the UTC time stamp and all of the computers
involved should have an easy time comparing time stamps in one time
zone to time stamps in another.

The system will also figure out when daylight savings time starts and
ends automatically.

On the other hand, if the same system is also used to boot windows,
windows seems to like to keep the hardware clock set to local time.
They never quite got it.

--
Bill Caroselli -- Q-TPS Consulting
1-(626) 824-7983
qtps@earthlink.net

Colin Burgess

Re: rdate vs rtc net (6.2.1)

Post by Colin Burgess » Thu Aug 28, 2003 1:24 pm

Well, do you have to manually change the time on your server
when daylight savings starts/stops?

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:
Hi,
My server is set with:
timezone on France
Hardware clock uses UTC/GMT unchecked.
Use Daylight Savings Time checked
time on 7:50
Set Real Time Clock checked.

On a target, set with same parameters as above.
I type 'rdate Serveur_qnx' and I get 7:50 CEST. Ok
If I type 'rtc net Serveur_qnx', I get 6:50 CEST.

Why?

Thanks,
Alain.


--
cburgess@qnx.com

Alain Bonnefoy

Re: rdate vs rtc net (6.2.1)

Post by Alain Bonnefoy » Thu Aug 28, 2003 3:04 pm

Ok thanks, a lot Bill
Alain.

Bill Caroselli a écrit:
Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:

AB > --------------020102000901080203080402
AB > Content-Type: text/plain; charset=ISO-8859-1; format=flowed
AB > Content-Transfer-Encoding: 8bit

AB > I don't know, Why?

AB > Alain.

AB > Colin Burgess a crit:



BTW - why don't you have your server set to UTC/GMT?

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:





The UNIX philosophy is to set the clock to UTC/GMT time. Then each
user can export a TZ (time zone variable). Any times displayed or
interpreted are done using the local time zone.

It means that you can have dial-up users in different time zones on
the same computer and they can all see the correct current local time.

It also helps when transmitting data from time zone to time zone. You
stamp the data with the UTC time stamp and all of the computers
involved should have an easy time comparing time stamps in one time
zone to time stamps in another.

The system will also figure out when daylight savings time starts and
ends automatically.

On the other hand, if the same system is also used to boot windows,
windows seems to like to keep the hardware clock set to local time.
They never quite got it.


Alain Bonnefoy

Re: rdate vs rtc net (6.2.1)

Post by Alain Bonnefoy » Thu Aug 28, 2003 3:06 pm

I don't know, I will see it soon!
Alain.

Colin Burgess a écrit:
Well, do you have to manually change the time on your server
when daylight savings starts/stops?

Alain Bonnefoy <alain.bonnefoy@icbt.com> wrote:


Hi,
My server is set with:
timezone on France
Hardware clock uses UTC/GMT unchecked.
Use Daylight Savings Time checked
time on 7:50
Set Real Time Clock checked.





On a target, set with same parameters as above.
I type 'rdate Serveur_qnx' and I get 7:50 CEST. Ok
If I type 'rtc net Serveur_qnx', I get 6:50 CEST.





Why?





Thanks,
Alain.







Post Reply

Return to “qdn.public.qnxrtp.applications”