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

Re: date -d yesterday?



On Fri, Feb 08, 2002 at 09:24:31PM +0000, Christian Weisgerber wrote:
 > > date -r $(expr $(date +%s) - 86400)
 > 
 > This is problematic at daylight saving time switchover.

Yes. I can only quote GNU 'info date' which in turn quotes
Robert Grudin, `Time and the Art of Living'...

I don't feel like parsing system timezone definitions today.