Path: utzoo!attcan!uunet!wuarchive!zaphod.mps.ohio-state.edu!samsung!umich!sharkey!cfctech!teemc!ka3ovk!raysnec!shwake From: shwake@raysnec.UUCP (Ray Shwake) Newsgroups: comp.unix.questions Subject: Re: How to generate Unix time from dates? Message-ID: <121@raysnec.UUCP> Date: 28 Oct 90 17:24:00 GMT References: <9X5%Q7*@ads.com> <1990Oct26.132604.16236@virtech.uucp> Organization: IRS/CI - Technical Solutions Branch Lines: 10 cpcahil@virtech.uucp (Conor P. Cahill) writes: >The value returned by time(2) is the number of seconds (not microsecs) that >have past since 12 Midnight December 31, 1969 GMT. There is no way to use >this value to represent date/times prior to that date. Some time back I wrote a 'unixtime' utility which generated both ASCII and long integer UNIX times, plus supported "time shifts" in hours, minutes and seconds. Source and manual page available to those interested. Doesn't, however, support time before UNIX time 0L noted above.