C
colin_lyse
using perl on Win2k box
have a file with the following lines (total of 50)
I. 12/16 22:33:17. <thread 1.5>: Ready to handle requests
E. 01/11 18:29:12. <thread 1.1>: Ready to handle requests
I. 01/12 11:29:12. <thread 1.2>: Ready to handle requests
I. 01/12 13:29:12. <thread 1.3>: Ready to handle requests
E. 01/26 19:29:12.<Main>: Error: [-10002] ODBC: [Microsoft] ODBC Driver
I. 01/26 19:29:12. <thread 1.5>: Ready to handle requests
what i need to do is for dates and times within the last hour fine any line
with E.
what i looking for is how to convert the timestamp in the line to an actual
timestamp i can compare to the localtime. have seen lots of info on
converting dates to string but not other way around
have a file with the following lines (total of 50)
I. 12/16 22:33:17. <thread 1.5>: Ready to handle requests
E. 01/11 18:29:12. <thread 1.1>: Ready to handle requests
I. 01/12 11:29:12. <thread 1.2>: Ready to handle requests
I. 01/12 13:29:12. <thread 1.3>: Ready to handle requests
E. 01/26 19:29:12.<Main>: Error: [-10002] ODBC: [Microsoft] ODBC Driver
I. 01/26 19:29:12. <thread 1.5>: Ready to handle requests
what i need to do is for dates and times within the last hour fine any line
with E.
what i looking for is how to convert the timestamp in the line to an actual
timestamp i can compare to the localtime. have seen lots of info on
converting dates to string but not other way around