Path: utzoo!yunexus!geac!syntron!jtsv16!uunet!lll-winken!lll-tis!ames!ncar!boulder!spot!wu From: wu@spot.Colorado.EDU (WU SHI-KUEI) Newsgroups: comp.lang.c Subject: Re: From (struct tm) to (time_t) ? Message-ID: <4247@boulder.Colorado.EDU> Date: 24 Oct 88 15:00:38 GMT Article-I.D.: boulder.4247 References: <182@libove.UUCP> Sender: news@boulder.Colorado.EDU Reply-To: wu@spot.Colorado.EDU (WU SHI-KUEI) Organization: University of Colorado, Boulder Lines: 12 In article <182@libove.UUCP> root@libove.UUCP (Jay M. Libove) writes: >.............................................................. but >there is no way I know of to fill in such a structure and make a >time_t out of it... e.g. for System V "touch" which allows a date >argument to be given. > >Does anyone have the code for this (struct tm) to (time_t) conversion? See page 50ff in Marc Rochkind's Advanced UNIX Programming. Just a guest here. In real life: Carl Brandauer uunet!nbires!bdaemon!carl