Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!melpar!toppin From: toppin@melpar.UUCP (Doug Toppin) Newsgroups: comp.unix.questions Subject: convert user entered time to seconds? Keywords: time Message-ID: <216@melpar.UUCP> Date: 7 Jul 89 16:58:36 GMT Distribution: usa Organization: E-Systems, Falls Church, VA Lines: 8 I recently posted a question asking if anyone knew of a system function to convert a user entered time into seconds since the epoch. I foolishly posted before checking the archives. After checking I found 'tm_to_time' in volume4 of comp.sources.unix. This takes year/month/day in a 'struct tm' and returns 'time_t' which is the seconds since epoch. I works well and is very small 54-lines, 800-bytes object. sorry