use DateTime::Format::Strptime; my $string = "19830501"; my $format = DateTime::Format::Strptime->new( pattern => '%Y%m%d' ); my $date = $format->parse_datetime( $string );
In reply to Re: Coolest way to decode YYYYMMDD?
by smls
in thread Coolest way to decode YYYYMMDD?
by locked_user sundialsvc4
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |