Changing date without changing time.

As the title, can it be done, the date is one day behind, I want something like
Code:
date -v +1d
but I want it to actually adjust the date, not just echo it.

Cheers.
 
Set a full date/time then: [cmd=]date 201002081200.00[/cmd] (which is noon, Feb 8, adjust time as as needed)
 
DutchDaemon said:
Set a full date/time then: [cmd=]date 201002081200.00[/cmd] (which is noon, Feb 8, adjust time as as needed)

Thanks, yeah I was going to do that, but obviously the current time was pulled from somewhere quite accurate (I didn't set it) and I guess I was being a bit OCD having it off by a few seconds...

Thanks anyway
 
If you're running ntpd that will be corrected very quickly.
 
Back
Top