Newsgroups: comp.lang.c Path: utzoo!henry From: henry@utzoo.uucp (Henry Spencer) Subject: Re: Time format conversion problem Message-ID: <1990May8.154613.26346@utzoo.uucp> Organization: U of Toronto Zoology References: <15080011@hpfinote.HP.COM> Date: Tue, 8 May 90 15:46:13 GMT In article <15080011@hpfinote.HP.COM> pnl@hpfinote.HP.COM (Peter Lim) writes: >I found that in Microsoft or Zortech C, XXXXXX() is mktime(); but >I need to move the program to a UNIX environment which doesn't have >mktime(). So, I'm stuck. > >Anybody know which library function works the same as mktime(), >or have some C code to replace the function ?? mktime() is the ANSI C library function for this job. On old systems, including most current Unixes, there simply isn't one. -- If OSI is the answer, what is | Henry Spencer at U of Toronto Zoology the question?? -Rolf Nordhagen| uunet!attcan!utzoo!henry henry@zoo.toronto.edu