Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!zaphod.mps.ohio-state.edu!sdd.hp.com!hplabs!hplabsz!thompson From: thompson@hplabsz.HPL.HP.COM (Brent Thompson) Newsgroups: comp.lang.perl Subject: library time functions Message-ID: <5984@hplabsz.HPL.HP.COM> Date: 26 Sep 90 18:32:33 GMT Reply-To: thompson@hplabs.hpl.hp.com (Brent Thompson) Organization: Hewlett-Packard Laboratories, Palo Alto, CA Lines: 9 How can I convert date strings into seconds since 1970? localtime() converts seconds since 1970 into date strings, but I want to go the other way. Does someone already have a library to do this, e.g. a mktime.pl? Or is it best to use mktime(3)? So this brings up a second question: how to call C library functions not already perlized? 'makelib sys/time.h' didn't convince perl on my system that mktime actually exists. --- Brent