Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!wuarchive!uunet!osh3!chip From: chip@osh3.OSHA.GOV (Chip Yamasaki) Newsgroups: comp.lang.perl Subject: Date/Time conversion Message-ID: <1991May07.184931.19141@osh3.OSHA.GOV> Date: 7 May 91 18:49:31 GMT Organization: U.S. D.O.L - Occupational Safety & Health Admin. Lines: 22 I have a question on Date and Time conversions. I am writing a Perl script to parse the UUCP logfiles to record the information in a database. The logfiles contain the date and time information in a format like: 5/6-0:09:49 I would like to be able to take this and turn it back into the Unix clock time (seconds since . . .). If I have to I could load these values into a tm type structure, but I can't find a function for that either. Does anybody out there have a function like this in their Perl library? Also, are there any Perl libraries out there with other such usefull functions? Thanks! -- -- Charles "Chip" Yamasaki chip@oshcomm.osha.gov