Path: utzoo!utgpu!cs.utexas.edu!usc!zaphod.mps.ohio-state.edu!swrinde!ucsd!rutgers!njin!princeton!cs!samadams!tr From: tr@samadams.princeton.edu (Tom Reingold) Newsgroups: alt.hackers Subject: Re: Yesterday Message-ID: <5198@rossignol.Princeton.EDU> Date: 10 Dec 90 16:40:31 GMT References: <1990Dec04.175617.5465@iecc.cambridge.ma.us> Sender: news@cs.Princeton.EDU Organization: Noo Joizy -- The Cultural Mecca Lines: 15 Approved: Him (He) In article <1990Dec04.175617.5465@iecc.cambridge.ma.us> johnl@iecc.cambridge.ma.us (John R. Levine) writes: % What's the easiest way to get yesterday's date in a string? After some % poking around, give or take a time zone, this seems to do the trick: % % $ TZ=EST29EDT date This is very cute. It works for stamping mail wrong, too. Well, almost. If the recipient doesn't look carefully, you fool him. -- Tom Reingold tr@samadams.princeton.edu OR ...!princeton!samadams!tr "Warning: Do not drive with Auto-Shade in place. Remove from windshield before starting ignition."