Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!seismo!nbires!hao!hplabs!pyramid!decwrl!sun!guy From: guy@sun.uucp (Guy Harris) Newsgroups: net.unix Subject: Re: converting a tm struct. into seconds Message-ID: <5301@sun.uucp> Date: Mon, 21-Jul-86 14:30:53 EDT Article-I.D.: sun.5301 Posted: Mon Jul 21 14:30:53 1986 Date-Received: Tue, 22-Jul-86 03:38:11 EDT References: <123@spp5.UUCP> Distribution: net Organization: Sun Microsystems, Inc. Lines: 11 > Could someone please either post or send me the formula (in c hopefully) > for changing a tm struct back into the number of seconds since 00:00:00, > GMT, Jan 1, 1970? Thanx. I presume you have UNIX source available; if so, try looking at the "date" command, which converts times specified in roughly the same form into UNIX times. -- Guy Harris {ihnp4, decvax, seismo, decwrl, ...}!sun!guy guy@sun.com (or guy@sun.arpa)