I am reading in log data with the following time stamp format:
Sat Aug 07 04:42:21 2010
I want to convert it to something like this:
20100807044221
What is the best way to do this in perl? Thanks.
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Date::Parsemay not be installed on all your systems, so you may want to use the following snippet: