in reply to Convert date into day and month
Hi,
Just for TMTOWTDI, once you have your line and have set up the hash of month names/ numbers, you could also
$mname = substr( $line, 0, 3 ); $mon = $mhash{$mname}; $day = sunstr( $line, 4, 2 );
( untested ) or something similar.
J.C.
|
|---|