This problem is one of the reasons why Borodin (in your SO cross post) suggested to wrap this in a subroutine which accepts 3 args (a ref to the var, the input format, and output format). Doing that will allow you to have a consistent way to make all of the format adjustments.
In reply to Re: Formatting date while parsing CSV
by fishmonger
in thread Formatting date while parsing CSV
by BigRedEO
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |