There are plenty of date and time related modules, but in this case Date::EzDate may in fact be easy:
my $date = Date::EzDate->new(); $date->{yeartwodigits} = 11; $date->{yeardaybase1} = 32; $date->{'myformat'} = '{year}{month number base 1}{day of month}'; print $date->{'myformat'};
Make sure you read the docs about the 'year two digits' handling of the assumed century however!
In reply to Re: Date Conversion: yyddd to yyyymmdd
by GrandFather
in thread Date Conversion: yyddd to yyyymmdd
by roho
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |