Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!sundc!pitstop!sun!amdcad!ames!hao!boulder!sunybcs!bingvaxu!leah!itsgw!batcomputer!tedcrane From: tedcrane@batcomputer.tn.cornell.edu (Ted Crane) Newsgroups: comp.os.vms Subject: Re: Changing from daylight time to standard time Message-ID: <2753@batcomputer.tn.cornell.edu> Date: Thu, 29-Oct-87 16:04:03 EST Article-I.D.: batcompu.2753 Posted: Thu Oct 29 16:04:03 1987 Date-Received: Wed, 4-Nov-87 02:11:31 EST References: <8710241907.AA29503@ucbvax.Berkeley.EDU> Reply-To: tedcrane@tcgould.tn.cornell.edu (Ted Crane) Organization: Tompkins County Computing, Ithaca, NY Lines: 19 In article <8710241907.AA29503@ucbvax.Berkeley.EDU> R021JM9W@VB.CC.CMU.EDU (Jim Murawski) writes: > I have whipped up a command procedure > (that'll run in batch) to automatically change the system time > and notify the console that the time has changed. This same > procedure can also be used when changing from standard time > to daylight time. To submit it, type: >...followed by a long and complicated command procedure... It's a great idea to have that command procedure, but the operant portion could be simplified somewhat along the lines: $ OLD_TIME = f$time() $ set time="+01:00:00" $ NEW_TIME = f$time() - ted crane, alias (tc) tedcrane@tcgould.tn.cornell.edu BITNET: tedcrane@CRNLTHRY {decvax!ucbvax}!tcgould.tn.cornell.edu!tedcrane DECnet: GOPHER::THC (607) 273-8768