Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!apple!motcsd!hpda!hpcupt1!hpirs!wk From: wk@hpirs.HP.COM (Wayne Krone) Newsgroups: comp.unix.questions Subject: Re: ASCII-->internal time Message-ID: <4750021@hpirs.HP.COM> Date: 13 Jun 89 00:13:35 GMT References: <561@drd.UUCP> Organization: Hewlett Packard, Cupertino Lines: 10 > I've been reviewing ctime, et al and note that they are good for > converting UNIX internal time format into ascii and struct tm but > don't provide a way to convert from ascii or struct tm back to UNIX > internal format. I don't see a cousin which has that functionality The draft standard for ANSI C defines a function mktime() which converts a tm structure into a time_t value (time_t is the type ANSI C defines to be returned by the time() function). Wayne Krone