Re: How to get a localized string

2003-12-09 Thread Dave Rolsky
On Tue, 9 Dec 2003, Henry Sobotka wrote: 2009. I would expect 9-12-2003 (expressing years in two digits is frowned upon; e.g. 1998-99 is considered an anglicism, the proper way to write it being 1998-1999). The string version would be le 9 décembre 2003; month abbreviations tend to be used

I need help creating a custom Date parser

2003-12-09 Thread Hill, Ronald
Hi All, I am kinda stuck creating a DateTime parser. The dates I am trying to parse are: 06/26/98 06-26-98 Jun 26 1998 Jun 26 98 I have the first two done and working but the third and forth is giving me fits :( Here is what I have tried; I created a new package like so, package

RE: I need help creating a custom Date parser

2003-12-09 Thread Hill, Ronald
Hi Rick, 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

Re: I need help creating a custom Date parser

2003-12-09 Thread Rick Measham
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