I have GNU date 1.16 on my system

You use the date -s flag in almost any format, and it should work

date -s Tue Oct 20 20:17:35     1998 

should do the trick if you're running a similar version.

Of course, you need to be logged in as root to do that.

DA




On Tue, 20 Oct 1998, Ken Russell wrote:

> Real newbie question here... I've tried to change the time on my box a
> zillion times, something like:
> 
> %date -s 1019235300
> 
> But it doesn't work, and the man pages are opaque to me, as usual. Seems
> like I should put a "+" in there somewhere--it wants me to format it, but
> does not give an example of how to do it. I'm not too particular in how it
> looks as long as it is the current date and time. Could someone please give
> me an example of how this command works? Thanks a zillion!
> 

Tom (I haven't had to reboot my computer in over 2 days) Myro
Webmaster, cyber-nurse.com, camerology.com
Free CGI's: http://www.cyber-nurse.com/workshop

Reply via email to