in reply to Re: Adding Days To YYYYMMDD Date Format
in thread Adding Days To YYYYMMDD Date Format

Hi Kenosis

I added the module Modern::Perl, ran your script, but the result is not correct.

I changed your sprintf '%d%02d%02d' to sprintf '%04d%02d%02d'.

Using the same sample, it prints out 00001200.

<Thanks...

  • Comment on Re^2: Adding Days To YYYYMMDD Date Format