[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date -d yesterday?



On Fri, Feb 08, 2002 at 11:07:48AM -0800, David S. wrote:
> > date -r $(expr $(date +%s) - 86400)
> 
> Unless you're running at secure level 2, where the clock can't be
> turned back.

The above command does not turn the clock back.

-- 
http://2suck.net/hhwl.html
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)