* My Clock Is Confused @ Rejean Proulx ` William F. Acker WB2FLW +1-303-722-7209 0 siblings, 1 reply; 17+ messages in thread From: Rejean Proulx @ UTC (permalink / raw) To: speakup I noticed today that somehow my clock is set to UTC which in itself is ok. The trouble is, my machine is on EDT which has a -4 hour offset, except that my clock is reporting EDT as UTC. In other words, it is 4 hours ahead of what it should be. I wasn't worried about it until Luke send me a TAR file. When I did the tar command it complained loudly that the file was created in the future. It worked, but I really need to fix this. How to I tell the silly machine that it needs to have an offset of -4. Rejean Proulx Visit my family at http://interfree.ca MSN is: rejp@rogers.com Ham License VA3REJ ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused My Clock Is Confused Rejean Proulx @ ` William F. Acker WB2FLW +1-303-722-7209 ` Rejean Proulx 0 siblings, 1 reply; 17+ messages in thread From: William F. Acker WB2FLW +1-303-722-7209 @ UTC (permalink / raw) To: speakup Hi, I don't remember what distro you're running. In case it's any recent version of RHL, do this. cp -p /usr/share/zoneinfo/Canada/Eastern /etc/localtime then, edit /etc/sysconfig/clock . Change the timezone to Canada/Eastern If Linux is the only system on the machine, set UTC to true in that file. HTH. -- Bill in Denver ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` William F. Acker WB2FLW +1-303-722-7209 @ ` Rejean Proulx ` Kenny Hitt 0 siblings, 1 reply; 17+ messages in thread From: Rejean Proulx @ UTC (permalink / raw) To: speakup I don't have a sysconfig directory in /etc I am running Debian, if that is any help. Where is that clock file in Debian? Rejean Proulx Visit my family at http://interfree.ca MSN is: rejp@rogers.com Ham License VA3REJ ----- Original Message ----- From: "William F. Acker WB2FLW +1-303-722-7209" <wacker@octothorp.org> To: <speakup@braille.uwo.ca> Sent: Monday, October 06, 2003 12:38 AM Subject: Re: My Clock Is Confused > Hi, > > I don't remember what distro you're running. In case it's any recent > version of RHL, do this. cp -p /usr/share/zoneinfo/Canada/Eastern > /etc/localtime > then, edit /etc/sysconfig/clock . Change the timezone to > Canada/Eastern > If Linux is the only system on the machine, set UTC to true in that file. > > HTH. > -- > > > Bill in Denver > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Rejean Proulx @ ` Kenny Hitt ` Rejean Proulx [not found] ` <005701c38c30$b69c20b0$6501a8c0@ism.can <20031006194817.GA17428@romuald.net.eu.org> 0 siblings, 2 replies; 17+ messages in thread From: Kenny Hitt @ UTC (permalink / raw) To: speakup Hi. You need to run the tzconfig command as root and pick your time zone/location. Kenny On Mon, Oct 06, 2003 at 07:03:30AM -0400, Rejean Proulx wrote: > I don't have a sysconfig directory in /etc I am running Debian, if that is > any help. Where is that clock file in Debian? > > Rejean Proulx > Visit my family at http://interfree.ca > MSN is: rejp@rogers.com > Ham License VA3REJ > > ----- Original Message ----- > From: "William F. Acker WB2FLW +1-303-722-7209" <wacker@octothorp.org> > To: <speakup@braille.uwo.ca> > Sent: Monday, October 06, 2003 12:38 AM > Subject: Re: My Clock Is Confused > > > > Hi, > > > > I don't remember what distro you're running. In case it's any recent > > version of RHL, do this. cp -p /usr/share/zoneinfo/Canada/Eastern > > /etc/localtime > > then, edit /etc/sysconfig/clock . Change the timezone to > > Canada/Eastern > > If Linux is the only system on the machine, set UTC to true in that file. > > > > HTH. > > -- > > > > > > Bill in Denver > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Kenny Hitt @ ` Rejean Proulx ` Gregory Nowak [not found] ` <005701c38c30$b69c20b0$6501a8c0@ism.can <20031006194817.GA17428@romuald.net.eu.org> 1 sibling, 1 reply; 17+ messages in thread From: Rejean Proulx @ UTC (permalink / raw) To: speakup OK, I've done that and it was correct. Now I have to reset my clock. I ran base-config, just the first part of it and told it that my clock is not UTC. Now I am 4 hours behind. If I tell it my hardware clock is UTC then it puts me 4 hours ahead. How to I reset the clock to the right time and run a program to keep it that way? I tried the date command and the parameters are strange. I haven't been able to get it right yet. Rejean Proulx Visit my family at http://interfree.ca MSN is: rejp@rogers.com Ham License VA3REJ ----- Original Message ----- From: "Kenny Hitt" <kennyhitt@knology.net> To: <speakup@braille.uwo.ca> Sent: Monday, October 06, 2003 7:42 AM Subject: Re: My Clock Is Confused > Hi. You need to run the tzconfig command as root and pick your time > zone/location. > > Kenny > > On Mon, Oct 06, 2003 at 07:03:30AM -0400, Rejean Proulx wrote: > > I don't have a sysconfig di@"*+ory in /etc I am running Debian, if that is > > any help. Where is that clock file in Debian? > > > > Rejean Proulx > > Visit my family at http://interfree.ca > > MSN is: rejp@rogers.com > > Ham License VA3REJ > > > > ----- Original Message ----- > > From: "William F. Acker WB2FLW +1-303-722-7209" <wacker@octothorp.org> > > To: <speakup@braille.uwo.ca> > > Sent: Monday, October 06, 2003 12:38 AM > > Subject: Re: My Clock Is Confused > > > > > > > Hi, > > > > > > I don't remember what distro you're running. In case it's any recent > > > version of RHL, do this. cp -p /usr/share/zoneinfo/Canada/Eastern > > > /etc/localtime > > > then, edit /etc/sysconfig/clock . Change the timezone to > > > Canada/Eastern > > > If Linux is the only system on the machine, set UTC to true in that file. > > > > > > HTH. > > > -- > > > > > > > > > Bill in Denver > > > > > > > > > _______________________________________________ > > > Speakup mailing list > > > Speakup@braille.uwo.ca > > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Rejean Proulx @ ` Gregory Nowak ` Patrick Turnage ` (2 more replies) 0 siblings, 3 replies; 17+ messages in thread From: Gregory Nowak @ UTC (permalink / raw) To: speakup Yeah, the syntax of date is pretty weird. In a nutshell, you want to pass 8 digits to the date command Digits 1 and 2 specify the month (I.E. 10 for October). Digits 3 and 4 specify the day (I.E. 06 for the 6th day of the month). Digits 5 and 6 specify the hour (I.E. 14 for 2 P.M.) (remember that you're dealing with a 24 hour clock here). It's possible to specify the hour in 12 hour format with an A or P at the end of the number string, but I've always used 24 hour format for this, so haven't tried the A or P myself. The final 7 and 8 digits specify the minute (I.E. 40 for the 40th minute). So, for example, if you wanted to set your clock to October 06th, 14:40, you would do as root "date 10061440" and that should do it, preserving whatever time zone you've got set at the time. What I mean by that, is that only the hour/minute will change, but your time zone won't. Wonder why they didn't implement the date and time changes separately in unix, would have sure made things less confusing for newbies to learn. Hth. Greg P.S., once you've got this set, you won't need to worry about it, assuming your cmos battery has charge of course to keep the clock going when your machine is off. On Mon, Oct 06, 2003 at 01:38:50PM -0400, Rejean Proulx wrote: > OK, I've done that and it was correct. Now I have to reset my clock. I ran > base-config, just the first part of it and told it that my clock is not UTC. > Now I am 4 hours behind. If I tell it my hardware clock is UTC then it puts > me 4 hours ahead. How to I reset the clock to the right time and run a > program to keep it that way? I tried the date command and the parameters > are strange. I haven't been able to get it right yet. > > Rejean Proulx > Visit my family at http://interfree.ca > MSN is: rejp@rogers.com > Ham License VA3REJ > -- Free domains: http://www.eu.org/ or mail dns-manager@EU.org ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Gregory Nowak @ ` Patrick Turnage ` Gregory Nowak ` gena-j ` Jacob Schmude 2 siblings, 1 reply; 17+ messages in thread From: Patrick Turnage @ UTC (permalink / raw) To: speakup Hello Greg, how do you set the year? Sincerely, Patrick ----- Patrick Turnage PAC Mate Gear CoWebmaster E-mail: patrick@pacmategear.com patrickt@tampabay.rr.com Web Site http://www.pacmategear.com For All Things PAC Mate Home Page http://www.access-connect.com Connecting the World to Access Technology Information AOL Instant Messenger: kg4dqk MSN Messenger: turnagep@hotmail.com ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Patrick Turnage @ ` Gregory Nowak 0 siblings, 0 replies; 17+ messages in thread From: Gregory Nowak @ UTC (permalink / raw) To: speakup Good question. You do it the same way as I described, accept that you add 4 extra digits at the end. So, say you wanted to set your date to 14:40 October 06th, 2004, you would do: " date 100614402004" Since I'm on a roll here, you set the number of seconds with a period and 2 digits for the second after the full date string above. Greg On Mon, Oct 06, 2003 at 04:03:19PM -0400, Patrick Turnage wrote: > Hello > Greg, how do you set the year? > Sincerely, > Patrick > > > > ----- > Patrick Turnage > PAC Mate Gear CoWebmaster > E-mail: > patrick@pacmategear.com > patrickt@tampabay.rr.com > Web Site > http://www.pacmategear.com > For All Things PAC Mate > Home Page > http://www.access-connect.com > Connecting the World to Access Technology Information > AOL Instant Messenger: kg4dqk > MSN Messenger: turnagep@hotmail.com > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup -- Free domains: http://www.eu.org/ or mail dns-manager@EU.org ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Gregory Nowak ` Patrick Turnage @ ` gena-j ` Rejean Proulx ` Rejean Proulx ` Jacob Schmude 2 siblings, 2 replies; 17+ messages in thread From: gena-j @ UTC (permalink / raw) To: speakup Hi Or you could simply install a package that gets the time from a ntp server such as chrony or ntp. There are plenty of open access servers around the world. Gena >Yeah, the syntax of date is pretty weird. > >In a nutshell, you want to pass 8 digits to the date command >Digits 1 and 2 specify the month (I.E. 10 for October). > >Digits 3 and 4 specify the day (I.E. 06 for the 6th day of the month). > >Digits 5 and 6 specify the hour (I.E. 14 for 2 P.M.) (remember that >you're dealing with a 24 hour clock here). It's possible to specify >the hour in 12 hour format with an A or P at the end of the number >string, but I've always used 24 hour format for this, so haven't tried >the A or P myself. > >The final 7 and 8 digits specify the minute (I.E. 40 for the 40th >minute). > >So, for example, if you wanted to set your clock to October 06th, >14:40, you would do as root >"date 10061440" >and that should do it, preserving whatever time zone you've got set at >the time. What I mean by that, is that only the hour/minute will >change, but your time zone won't. > >Wonder why they didn't implement the date and time changes separately >in unix, would have sure made things less confusing for newbies to >learn. > >Hth. > >Greg > >P.S., once you've got this set, you won't need to worry about it, >assuming your cmos battery has charge of course to keep the clock >going when your machine is off. > >On Mon, Oct 06, 2003 at 01:38:50PM -0400, Rejean Proulx wrote: >> OK, I've done that and it was correct. Now I have to reset my clock. I ran >> base-config, just the first part of it and told it that my clock is not UTC. >> Now I am 4 hours behind. If I tell it my hardware clock is UTC then it puts >> me 4 hours ahead. How to I reset the clock to the right time and run a >> program to keep it that way? I tried the date command and the parameters >> are strange. I haven't been able to get it right yet. >> >> Rejean Proulx >> Visit my family at http://interfree.ca >> MSN is: rejp@rogers.com >> Ham License VA3REJ >> > >-- >Free domains: http://www.eu.org/ or mail dns-manager@EU.org > > >_______________________________________________ >Speakup mailing list >Speakup@braille.uwo.ca >http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` gena-j @ ` Rejean Proulx ` gena-j ` Igor Gueths ` Rejean Proulx 1 sibling, 2 replies; 17+ messages in thread From: Rejean Proulx @ UTC (permalink / raw) To: speakup I was looking for NTP and couldn't remember what those darn time servers are called. Now that I am armed with this information, I'll look for a package. It must be age or something. You forget the stupidest things. Rejean Proulx Visit my family at http://interfree.ca MSN is: rejp@rogers.com Ham License VA3REJ ----- Original Message ----- From: <gena-j@ntlworld.com> To: <speakup@braille.uwo.ca> Sent: Monday, October 06, 2003 4:09 PM Subject: Re: My Clock Is Confused > Hi > > Or you could simply install a package that gets the time from a ntp > server such as chrony or ntp. There are plenty of open access servers > around the world. > > Gena > > >Yeah, the syntax of date is pretty weird. > > > >In a nutshell, you want to pass 8 digits to the date command > >Digits 1 and 2 specify the month (I.E. 10 for October). > > > >Digits 3 and 4 specify the day (I.E. 06 for the 6th day of the month). > > > >Digits 5 and 6 specify the hour (I.E. 14 for 2 P.M.) (remember that > >you're dealing with a 24 hour clock here). It's possible to specify > >the hour in 12 hour format with an A or P at the end of the number > >string, but I've always used 24 hour format for this, so haven't tried > >the A or P myself. > > > >The final 7 and 8 digits specify the minute (I.E. 40 for the 40th > >minute). > > > >So, for example, if you wanted to set your clock to October 06th, > >14:40, you would do as root > >"date 10061440" > >and that should do it, preserving whatever time zone you've got set at > >the time. What I mean by that, is that only the hour/minute will > >change, but your time zone won't. > > > >Wonder why they didn't implement the date and time changes separately > >in unix, would have sure made things less confusing for newbies to > >learn. > > > >Hth. > > > >Greg > > > >P.S., once you've got this set, you won't need to worry about it, > >assuming your cmos battery has charge of course to keep the clock > >going when your machine is off. > > > >On Mon, Oct 06, 2003 at 01:38:50PM -0400, Rejean Proulx wrote: > >> OK, I've done that and it was correct. Now I have to reset my clock. I ran > >> base-config, just the first part of it and told it that my clock is not UTC. > >> Now I am 4 hours behind. If I tell it my hardware clock is UTC then it puts > >> me 4 hours ahead. How to I reset the clock to the right time and run a > >> program to keep it that way? I tried the date command and the parameters > >> are strange. I haven't been able to get it right yet. > >> > >> Rejean Proulx > >> Visit my family at http://interfree.ca > >> MSN is: rejp@rogers.com > >> Ham License VA3REJ > >> > > > >-- > >Free domains: http://www.eu.org/ or mail dns-manager@EU.org > > > > > >_______________________________________________ > >Speakup mailing list > >Speakup@braille.uwo.ca > >http://speech.braille.uwo.ca/mailman/listinfo/speakup > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Rejean Proulx @ ` gena-j ` Igor Gueths 1 sibling, 0 replies; 17+ messages in thread From: gena-j @ UTC (permalink / raw) To: speakup Hi OK, here's some intersting info, obviously more so for Debian users: Package: ntp Priority: optional Section: net Installed-Size: 344 Maintainer: Bdale Garbee <bdale@gag.com> Architecture: i386 Version: 1:4.1.1b-4 Replaces: xntp,xntp3 Depends: ntp-simple | ntp-refclock, debconf, libc6 (>= 2.3.2-1), libreadline4 (>= 4.3-1) Suggests: ntpdate,ntp-doc Conflicts: chrony Filename: pool/main/n/ntp/ntp_4.1.1b-4_i386.deb Size: 135942 MD5sum: 468e62a297ccd582da507ea8ab0994c0 Description: Daemon and utilities for full NTP v4 timekeeping participation The Network Time Protocol allows for the synchronization of clocks on networked computers. The ntpd daemon implements NTP, allowing Unix systems to participate in this synchronization. . To minimize resource consumption in the general case, this package no longer includes the actual daemon. You will need either ntp-simple or ntp-refclock, depending on whether you want the drivers for radio clocks included in the refclock version of the daemon. . NTP was designed with attention to details which might introduce systematic bias into the computations, and the protocol is capable of synchronizing with even the most precise external time sources. . For more information on how NTP works, and how to configure a campus of ntpd daemons, load the optional Debian package 'ntp-doc'. Gena >I was looking for NTP and couldn't remember what those darn time servers are >called. Now that I am armed with this information, I'll look for a package. >It must be age or something. You forget the stupidest things. > > Rejean Proulx >Visit my family at http://interfree.ca >MSN is: rejp@rogers.com >Ham License VA3REJ > >----- Original Message ----- >From: <gena-j@ntlworld.com> >To: <speakup@braille.uwo.ca> >Sent: Monday, October 06, 2003 4:09 PM >Subject: Re: My Clock Is Confused > > >> Hi >> >> Or you could simply install a package that gets the time from a ntp >> server such as chrony or ntp. There are plenty of open access servers >> around the world. >> >> Gena >> >> >Yeah, the syntax of date is pretty weird. >> > >> >In a nutshell, you want to pass 8 digits to the date command >> >Digits 1 and 2 specify the month (I.E. 10 for October). >> > >> >Digits 3 and 4 specify the day (I.E. 06 for the 6th day of the month). >> > >> >Digits 5 and 6 specify the hour (I.E. 14 for 2 P.M.) (remember that >> >you're dealing with a 24 hour clock here). It's possible to specify >> >the hour in 12 hour format with an A or P at the end of the number >> >string, but I've always used 24 hour format for this, so haven't tried >> >the A or P myself. >> > >> >The final 7 and 8 digits specify the minute (I.E. 40 for the 40th >> >minute). >> > > >So, for example, if you wanted to set your clock to October 06th, >> >14:40, you would do as root >> >"date 10061440" >> >and that should do it, preserving whatever time zone you've got set at >> >the time. What I mean by that, is that only the hour/minute will >> >change, but your time zone won't. >> > >> >Wonder why they didn't implement the date and time changes separately >> >in unix, would have sure made things less confusing for newbies to >> >learn. >> > >> >Hth. >> > >> >Greg >> > >> >P.S., once you've got this set, you won't need to worry about it, >> >assuming your cmos battery has charge of course to keep the clock >> >going when your machine is off. >> > >> >On Mon, Oct 06, 2003 at 01:38:50PM -0400, Rejean Proulx wrote: >> >> OK, I've done that and it was correct. Now I have to reset my clock. >I ran >> >> base-config, just the first part of it and told it that my clock is not >UTC. >> >> Now I am 4 hours behind. If I tell it my hardware clock is UTC then it >puts >> >> me 4 hours ahead. How to I reset the clock to the right time and run a >> >> program to keep it that way? I tried the date command and the >parameters >> >> are strange. I haven't been able to get it right yet. >> >> >> >> Rejean Proulx >> >> Visit my family at http://interfree.ca >> >> MSN is: rejp@rogers.com >> >> Ham License VA3REJ >> >> >> > >> >-- >> >Free domains: http://www.eu.org/ or mail dns-manager@EU.org >> > >> > >> >_______________________________________________ >> >Speakup mailing list >> >Speakup@braille.uwo.ca >> >http://speech.braille.uwo.ca/mailman/listinfo/speakup >> >> _______________________________________________ >> Speakup mailing list >> Speakup@braille.uwo.ca >> http://speech.braille.uwo.ca/mailman/listinfo/speakup > > >_______________________________________________ >Speakup mailing list >Speakup@braille.uwo.ca >http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Rejean Proulx ` gena-j @ ` Igor Gueths 1 sibling, 0 replies; 17+ messages in thread From: Igor Gueths @ UTC (permalink / raw) To: speakup One timeserver you can use is time-nw.nist.gov. On Mon, 6 Oct 2003, Rejean Proulx wrote: > I was looking for NTP and couldn't remember what those darn time servers are > called. Now that I am armed with this information, I'll look for a package. > It must be age or something. You forget the stupidest things. > > Rejean Proulx > Visit my family at http://interfree.ca > MSN is: rejp@rogers.com > Ham License VA3REJ > > ----- Original Message ----- > From: <gena-j@ntlworld.com> > To: <speakup@braille.uwo.ca> > Sent: Monday, October 06, 2003 4:09 PM > Subject: Re: My Clock Is Confused > > > > Hi > > > > Or you could simply install a package that gets the time from a ntp > > server such as chrony or ntp. There are plenty of open access servers > > around the world. > > > > Gena > > > > >Yeah, the syntax of date is pretty weird. > > > > > >In a nutshell, you want to pass 8 digits to the date command > > >Digits 1 and 2 specify the month (I.E. 10 for October). > > > > > >Digits 3 and 4 specify the day (I.E. 06 for the 6th day of the month). > > > > > >Digits 5 and 6 specify the hour (I.E. 14 for 2 P.M.) (remember that > > >you're dealing with a 24 hour clock here). It's possible to specify > > >the hour in 12 hour format with an A or P at the end of the number > > >string, but I've always used 24 hour format for this, so haven't tried > > >the A or P myself. > > > > > >The final 7 and 8 digits specify the minute (I.E. 40 for the 40th > > >minute). > > > > > >So, for example, if you wanted to set your clock to October 06th, > > >14:40, you would do as root > > >"date 10061440" > > >and that should do it, preserving whatever time zone you've got set at > > >the time. What I mean by that, is that only the hour/minute will > > >change, but your time zone won't. > > > > > >Wonder why they didn't implement the date and time changes separately > > >in unix, would have sure made things less confusing for newbies to > > >learn. > > > > > >Hth. > > > > > >Greg > > > > > >P.S., once you've got this set, you won't need to worry about it, > > >assuming your cmos battery has charge of course to keep the clock > > >going when your machine is off. > > > > > >On Mon, Oct 06, 2003 at 01:38:50PM -0400, Rejean Proulx wrote: > > >> OK, I've done that and it was correct. Now I have to reset my clock. > I ran > > >> base-config, just the first part of it and told it that my clock is not > UTC. > > >> Now I am 4 hours behind. If I tell it my hardware clock is UTC then it > puts > > >> me 4 hours ahead. How to I reset the clock to the right time and run a > > >> program to keep it that way? I tried the date command and the > parameters > > >> are strange. I haven't been able to get it right yet. > > >> > > >> Rejean Proulx > > >> Visit my family at http://interfree.ca > > >> MSN is: rejp@rogers.com > > >> Ham License VA3REJ > > >> > > > > > >-- > > >Free domains: http://www.eu.org/ or mail dns-manager@EU.org > > > > > > > > >_______________________________________________ > > >Speakup mailing list > > >Speakup@braille.uwo.ca > > >http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > > _______________________________________________ > > Speakup mailing list > > Speakup@braille.uwo.ca > > http://speech.braille.uwo.ca/mailman/listinfo/speakup > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` gena-j ` Rejean Proulx @ ` Rejean Proulx 1 sibling, 0 replies; 17+ messages in thread From: Rejean Proulx @ UTC (permalink / raw) To: speakup Those using debian can try ntpdate. It is a simple package that does the trick. Rejean Proulx Visit my family at http://interfree.ca MSN is: rejp@rogers.com Ham License VA3REJ ----- Original Message ----- From: <gena-j@ntlworld.com> To: <speakup@braille.uwo.ca> Sent: Monday, October 06, 2003 4:09 PM Subject: Re: My Clock Is Confused > Hi > > Or you could simply install a package that gets the time from a ntp > server such as chrony or ntp. There are plenty of open access servers > around the world. > > Gena > > >Yeah, the syntax of date is pretty weird. > > > >In a nutshell, you want to pass 8 digits to the date command > >Digits 1 and 2 specify the month (I.E. 10 for October). > > > >Digits 3 and 4 specify the day (I.E. 06 for the 6th day of the month). > > > >Digits 5 and 6 specify the hour (I.E. 14 for 2 P.M.) (remember that > >you're dealing with a 24 hour clock here). It's possible to specify > >the hour in 12 hour format with an A or P at the end of the number > >string, but I've always used 24 hour format for this, so haven't tried > >the A or P myself. > > > >The final 7 and 8 digits specify the minute (I.E. 40 for the 40th > >minute). > > > >So, for example, if you wanted to set your clock to October 06th, > >14:40, you would do as root > >"date 10061440" > >and that should do it, preserving whatever time zone you've got set at > >the time. What I mean by that, is that only the hour/minute will > >change, but your time zone won't. > > > >Wonder why they didn't implement the date and time changes separately > >in unix, would have sure made things less confusing for newbies to > >learn. > > > >Hth. > > > >Greg > > > >P.S., once you've got this set, you won't need to worry about it, > >assuming your cmos battery has charge of course to keep the clock > >going when your machine is off. > > > >On Mon, Oct 06, 2003 at 01:38:50PM -0400, Rejean Proulx wrote: > >> OK, I've done that and it was correct. Now I have to reset my clock. I ran > >> base-config, just the first part of it and told it that my clock is not UTC. > >> Now I am 4 hours behind. If I tell it my hardware clock is UTC then it puts > >> me 4 hours ahead. How to I reset the clock to the right time and run a > >> program to keep it that way? I tried the date command and the parameters > >> are strange. I haven't been able to get it right yet. > >> > >> Rejean Proulx > >> Visit my family at http://interfree.ca > >> MSN is: rejp@rogers.com > >> Ham License VA3REJ > >> > > > >-- > >Free domains: http://www.eu.org/ or mail dns-manager@EU.org > > > > > >_______________________________________________ > >Speakup mailing list > >Speakup@braille.uwo.ca > >http://speech.braille.uwo.ca/mailman/listinfo/speakup > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Gregory Nowak ` Patrick Turnage ` gena-j @ ` Jacob Schmude ` Gregory Nowak 2 siblings, 1 reply; 17+ messages in thread From: Jacob Schmude @ UTC (permalink / raw) To: speakup Hi Actually, there is a way to do it separately. Use the s switch to date. The format is: date -s year-mm-dd to set the date. Taking your provided example, it would look like: date -s 2003-10-06 After that, you set the time in 24-hour format like this: date -s hh:mm:ss Again, taking your example, you would use: date -s 14:40 Note that specifying the seconds is not necessary, but you can if you want. I've often found this easier than combining the two, especially when I only need to set one of them. HTH On Mon, 6 Oct 2003 14:48:17 -0500, Gregory Nowak wrote: >Yeah, the syntax of date is pretty weird. > >In a nutshell, you want to pass 8 digits to the date command >Digits 1 and 2 specify the month (I.E. 10 for October). > >Digits 3 and 4 specify the day (I.E. 06 for the 6th day of the month). > >Digits 5 and 6 specify the hour (I.E. 14 for 2 P.M.) (remember that >you're dealing with a 24 hour clock here). It's possible to specify >the hour in 12 hour format with an A or P at the end of the number >string, but I've always used 24 hour format for this, so haven't tried >the A or P myself. > >The final 7 and 8 digits specify the minute (I.E. 40 for the 40th >minute). > >So, for example, if you wanted to set your clock to October 06th, >14:40, you would do as root >"date 10061440" >and that should do it, preserving whatever time zone you've got set at >the time. What I mean by that, is that only the hour/minute will >change, but your time zone won't. > ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Jacob Schmude @ ` Gregory Nowak 0 siblings, 0 replies; 17+ messages in thread From: Gregory Nowak @ UTC (permalink / raw) To: speakup Thanks, that's a bit less combersum. Guess date is still a mystery even to non-newbies (grin). Greg On Mon, Oct 06, 2003 at 04:29:50PM -0400, Jacob Schmude wrote: > Hi > Actually, there is a way to do it separately. Use the s switch to date. The format is: > date -s year-mm-dd > to set the date. Taking your provided example, it would look like: > date -s 2003-10-06 > After that, you set the time in 24-hour format like this: > date -s hh:mm:ss > Again, taking your example, you would use: > date -s 14:40 > Note that specifying the seconds is not necessary, but you can if you want. I've often found this easier than combining the two, especially when I only need > to set one of them. > HTH -- Free domains: http://www.eu.org/ or mail dns-manager@EU.org ^ permalink raw reply [flat|nested] 17+ messages in thread
[parent not found: <005701c38c30$b69c20b0$6501a8c0@ism.can <20031006194817.GA17428@romuald.net.eu.org>]
* Re: My Clock Is Confused [not found] ` <005701c38c30$b69c20b0$6501a8c0@ism.can <20031006194817.GA17428@romuald.net.eu.org> @ ` Rejean Proulx ` Gregory Nowak 0 siblings, 1 reply; 17+ messages in thread From: Rejean Proulx @ UTC (permalink / raw) To: speakup Thanks, now the help instructions make sense. I guess if I'd read them with an open mind I'd have figured it out but it is too strange to be believable. I'm going to find a program to keep the time current so I don't have to worry about this. I feel better that it works. Having the wrong time can be a little dangerous. It can do strange things to files. Rejean Proulx Visit my family at http://interfree.ca MSN is: rejp@rogers.com Ham License VA3REJ ----- Original Message ----- From: "Gregory Nowak" <greg@romuald.net.eu.org> To: <speakup@braille.uwo.ca> Sent: Monday, October 06, 2003 3:48 PM Subject: Re: My Clock Is Confused > Yeah, the syntax of date is pretty weird. > > In a nutshell, you want to pass 8 digits to the date command > Digits 1 and 2 specify the month (I.E. 10 for October). > > Digits 3 and 4 speci'1H9he day (I.E. 06 for the 6th day of the month). > > Digits 5 and 6 specify the hour (I.E. 14 for 2 P.M.) (remember that > you're dealing with a 24 hour clock here). It's possible to specify > the hour in 12 hour format with an A or P at the end of the number > string, but I've always used 24 hour format for this, so haven't tried > the A or P myself. > > The final 7 and 8 digits specify the minute (I.E. 40 for the 40th > minute). > > So, for example, if you wanted to set your clock to October 06th, > 14:40, you would do as root > "date 10061440" > and that should do it, preserving whatever time zone you've got set at > the time. What I mean by that, is that only the hour/minute will > change, but your time zone won't. > > Wonder why they didn't implement the date and time changes separately > in unix, would have sure made things less confusing for newbies to > learn. > > Hth. > > Greg > > P.S., once you've got this set, you won't need to worry about it, > assuming your cmos battery has charge of course to keep the clock > going when your machine is off. > > On Mon, Oct 06, 2003 at 01:38:50PM -0400, Rejean Proulx wrote: > > OK, I've done that and it was correct. Now I have to reset my clock. I ran > > base-config, just the first part of it and told it that my clock is not UTC. > > Now I am 4 hours behind. If I tell it my hardware clock is UTC then it puts > > me 4 hours ahead. How to I reset the clock to the right time and run a > > program to keep it that way? I tried the date command and the parameters > > are strange. I haven't been able to get it right yet. > > > > Rejean Proulx > > Visit my family at http://interfree.ca > > MSN is: rejp@rogers.com > > Ham License VA3REJ > > > > -- > Free domains: http://www.eu.org/ or mail dns-manager@EU.org > > > _______________________________________________ > Speakup mailing list > Speakup@braille.uwo.ca > http://speech.braille.uwo.ca/mailman/listinfo/speakup ^ permalink raw reply [flat|nested] 17+ messages in thread
* Re: My Clock Is Confused ` Rejean Proulx @ ` Gregory Nowak 0 siblings, 0 replies; 17+ messages in thread From: Gregory Nowak @ UTC (permalink / raw) To: speakup On Mon, Oct 06, 2003 at 04:36:15PM -0400, Rejean Proulx wrote: > Thanks, now the help instructions make sense. I guess if I'd read them with > an open mind I'd have figured it out but it is too strange to be believable. Yeah, I'll agree with you on that one (smile). As I've mentioned a few days ago on the list, I have a script here that someone else posted here a long time ago, that sets the clock using the public clock at psu.edu. If you're interested, drop me a line privately. Since you're using Debian, Jeana (sorry if I spelled your name wrong) mentioned a clock setting package for that distro too. Greg -- Free domains: http://www.eu.org/ or mail dns-manager@EU.org ^ permalink raw reply [flat|nested] 17+ messages in thread
end of thread, other threads:[~ UTC | newest]
Thread overview: 17+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
My Clock Is Confused Rejean Proulx
` William F. Acker WB2FLW +1-303-722-7209
` Rejean Proulx
` Kenny Hitt
` Rejean Proulx
` Gregory Nowak
` Patrick Turnage
` Gregory Nowak
` gena-j
` Rejean Proulx
` gena-j
` Igor Gueths
` Rejean Proulx
` Jacob Schmude
` Gregory Nowak
[not found] ` <005701c38c30$b69c20b0$6501a8c0@ism.can <20031006194817.GA17428@romuald.net.eu.org>
` Rejean Proulx
` Gregory Nowak
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).