Proxy Logs Time Conversion - inverse of scalar localtime() in PERL?

From: CNL Squid Users List <squid-users@dont-contact.us>
Date: Tue, 27 Jul 1999 09:53:01 +0530

Hi!
     
        Sorry. This is more a perl question than Squid question.

        Usually I process the logs from t1 to t2, where
        t1 and t2 are the number of seconds since the epoch.

        Given an ASCII date string, how do I get the number of
        seconds since the epoch, in PERL.

        e.g. Tue Jun 22 10:00:00 1999 ----> 930025800

        How do I compute the inverse of "scalar localtime($nseconds)"?

        Thanks.

Dinesh
Received on Mon Jul 26 1999 - 22:21:03 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:47:33 MST