Path: utzoo!utgpu!cs.utexas.edu!samsung!munnari.oz.au!metro!nuts!cerberus!Sm From: Sm@cerberus.bhpese.oz.au (Scott Merrilees) Newsgroups: alt.sources.d Subject: Re: Looking for a tool to make UNIX-Time Message-ID: <1990Nov29.040427.15103@cerberus.bhpese.oz.au> Date: 29 Nov 90 04:04:27 GMT References: <1051@materna.uucp> <1948@necisa.ho.necisa.oz> <18748@rpp386.cactus.org> <1949@necisa.ho.necisa.oz> Organization: BHP, Newcastle, Australia Lines: 16 In article <18748@rpp386.cactus.org> jfh@rpp386.cactus.org (John F. Haugh II) writes: >gack! you can compute it directly without looping. if you don't >care about daylight savings time corrections you can get it without >ever having to call localtime. But then you have to know all the garbage about when daylight savings time cuts in/out, leap years etc. This solution is simple, has a few guesses, and will work anywhere without telling it extra stuff. It may not be terribly efficient, but probably won't be called that often. I like both it, and the side step to think of doing it that way. Sm -- Scott Merrilees, BHP Information Technology, Newcastle, Australia Internet: Sm@bhpese.oz.au Phone: +61 49 402132