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 at rogers.com >> Ham License VA3REJ >> > >-- >Free domains: http://www.eu.org/ or mail dns-manager at EU.org > > >_______________________________________________ >Speakup mailing list >Speakup at braille.uwo.ca >http://speech.braille.uwo.ca/mailman/listinfo/speakup