Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!wuarchive!gem.mps.ohio-state.edu!uakari.primate.wisc.edu!larry!jwp From: jwp@larry.sal.wisc.edu (Jeffrey W Percival) Newsgroups: comp.unix.questions Subject: Unix time question Keywords: ctime time gettimeofday Message-ID: <738@larry.sal.wisc.edu> Date: 3 Oct 89 16:51:53 GMT Organization: Space Astronomy Lab, Madison WI Lines: 11 I have a date string, of the form yymmddhhmmss.ss How do I convert this into the number of seconds since the Unix epoch? In other words, gettimeofday(2) gives me the *current* time in elapsed seconds... I want the number of elapsed seconds represented by my date string. date(1) does this, but I don't have source. TFM doesn't seem to cover this. -- Jeff Percival (jwp@larry.sal.wisc.edu)