The "20" are the first digits in this string, so I just captured the first 1+ digits in the regex.my $date = 'Wednesday, May 20, 2009 2:09 PM'; my ($yday) = $date =~ /(\d+)/;
In reply to Re: Date String Conversion
by elTriberium
in thread Date String Conversion
by Lunitech
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |