Path: utzoo!attcan!utgpu!cs.utexas.edu!know!news.cs.indiana.edu!rutgers!acsu.buffalo.edu!goetz From: goetz@ACSU.BUFFALO.EDU (Phil Goetz) Newsgroups: alt.hackers Subject: Communication (Re: Yesterday) Message-ID: <51996@eerie.acsu.Buffalo.EDU> Date: 17 Dec 90 19:50:15 GMT References: <1990Dec04.175617.5465@iecc.cambridge.ma.us> Sender: nobody@rutgers.rutgers.edu Organization: State University of New York at Buffalo/Comp Sci Lines: 15 Approved: nobody@rutgers.rutgers.edu 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 It helps if you tell us what computer and what operating system you're referring to. Phil Goetz goetz@cs.buffalo.EDU AMERICANS PREPARING FOR WAR HOARD FOOD Supermarkets across America out of beer and pretzels!