Perl date function/module able to understand full unabbreviated months.
Posted
by
s2cuts
on Stack Overflow
See other posts from Stack Overflow
or by s2cuts
Published on 2011-02-06T06:17:17Z
Indexed on
2011/02/06
7:25 UTC
Read the original article
Hit count: 139
Let's say I read in a string from somewhere that contains a date, and it's date format doesn't abbreviate the month. Is there a module that can handle reading it in, and then outputting it to whichever format I choose? I've taken a quick look through CPAN, and every date module I looked at didn't seem to accommodate an unabbreviated month.
Thanks for any help
EDIT: As an example, say we have a string like this; "2 February 1988". Now we want to convert it into "1988-02-02" (YYYY-MM-DD).
© Stack Overflow or respective owner