Tugger the SLUGger!SLUG Mailing List Archives

Re: [SLUG] changing the year in debian?


$author = "Nathan McKinlay" ;
> 
> The year on my debian server (new web server) shows as 2051, obviously I 
> would like it to show 2003.

read 'man date' and pay attention to the usage that looks like this:

date [-u|--utc|--universal] [MMDDhhmm[[CC]YY][.ss]]

minimally you could get away with:

date MMDDhhmmCCYY

ie. date 032119512003 sets Mar 21 7:51pm 2003

also have a look at 'man hwclock' which syncs the system date/time with the
hardware date/time.

cheers
marty

--
I didn't know it was over
Until it was too late, too late
But if I ever needed you
Would you be there?

"It's Too Late" - The Streets