*BSD News Article 31620


Return to BSD News archive

Xref: sserve comp.unix.bsd:14149 comp.lang.c++:71714 comp.lang.c:71928 comp.os.vms:88441
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!ddsw1!mcs.com!mikey
From: mikey@mcs.com (Mike Young)
Newsgroups: comp.unix.bsd,comp.lang.c++,comp.lang.c,comp.os.vms
Subject: Re: Inverse gmtime?
Date: Mon, 13 Jun 1994 20:13:10
Organization: Fen Software, Inc.
Lines: 19
Message-ID: <mikey.113.001438CC@mcs.com>
References: <Cr6v4t.FqB@biles.com> <CrBInI.4p1@twinsun.com>
NNTP-Posting-Host: mikey.pr.mcs.net
X-Newsreader: Trumpet for Windows [Version 1.0 Rev A]

In article <CrBInI.4p1@twinsun.com> eggert@twinsun.com (Paul Eggert) writes:
>From: eggert@twinsun.com (Paul Eggert)
>Subject: Re: Inverse gmtime?
>Date: Mon, 13 Jun 1994 04:18:52 GMT

>Preliminary versions of the C Standard did have a `timegm' function,
>which behaved like `mktime' except that it used GMT rather than local time.
>`timegm' didn't make the cut to the final C Standard, but you can FTP
>the source code to a public domain implementation from
>elsie.nci.nih.gov in pub/tz*; `timegm' is in the localtime.c file.

Paul,

I ftp'ed both tz* files from nih.gov, but I can't uncompress them. gzip 
complains about "invalid compressed data -- crc error." Any ideas what I can 
do?

Mike.