On Tue, 9 Dec 2003 12:29:33 -0800 , Hill, Ronald wrote 
> my $dt = DateTime::Format::UGAnswer->parse_date('Jan 26 2001'); 
>  
> print $dt->mdy; 
>  
> I have tried messing with this line in the package 
> strptime  => '%B%N%d%N%Y' in order to get it to work but nogo 
 
%N is nanoseconds. You might want to look at %n, except that it's not backwards 
compatible in that $dt->strptime('%B%N%d%N%Y'') will return newlines: 
Jan 
26 
2001 
 
If you know that the string is 10 characters long, then I'd just used vanila spaces in 
your 
pattern: 
'%B %d %Y' 
 
Cheers! 
Rick 

Reply via email to