goetz@ACSU.BUFFALO.EDU (Phil Goetz) (12/18/90)
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!
coxs@itsgw.rpi.edu (Sean Cox) (12/18/90)
goetz@ACSU.BUFFALO.EDU (Phil Goetz) writes: >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. C'mon, any hacker worth his salt should know this one cold. :) Think "massive licensing fees" and I think you'll get it. :) >Phil Goetz >goetz@cs.buffalo.EDU -Sean -- | coxs@mts.rpi.edu | "No matter how hot or cold a room is, it's | | coxs@pawl.rpi.edu | always Room Temperature." -- Steven Wright | | coxs@turing.cs.rpi.edu |-------------------------------------------------| | coxs@RPITSMTS.BITNET | Type checking is for people with weak memories. |
dweingar@csserv1.ic.sunysb.edu (David Weingart) (12/21/90)
In article <51996@eerie.acsu.Buffalo.EDU> goetz@ACSU.BUFFALO.EDU (Phil Goetz) writes: >> >> $ TZ=EST29EDT date > >It helps if you tell us what computer and what >operating system you're referring to. tm Look pretty UNIX-ish to me! ]) /\ \/ [- -- David Weingart dweingar@ic.sunysb.edu The opinions expressed here aren't even mine... Come down off the perch. Achieve concensus. Zooooon!