Hi All, Please forgive the simplicity of my questions, but I'm very much a beginner - so here go's:
I need to find todays date in the format 'day month' - eg: Jul 19 (this is so that I can parse a linux log file and extract only those entries relating to today). Now I know that the perl function localtime returns a date formatted like: Fri Jul 19 12:20:26 2002 So I'm nearly there - all I need to do is remove the 'day of the week' from the start of the string (e.g. Fri ) and the time from the end (e.g. 12:20:26 2002). I guess that a regular expression could do all this, but I'm struggling - any ideas would be greatly appreciated. regards Matt - ****************************** Matt Wetherill University of Salford [EMAIL PROTECTED] mobile: +44 7812 016059 office: +44 161 295 5853 ****************************** --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.377 / Virus Database: 211 - Release Date: 15/07/2002 -- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]