my $date = sprintf("%02d%02d", (localtime)[4] + 1, (localtime)[3]); print $date, "\n";
Reducing formatting logic clauses and conditionals within business code is a good thing from my perspective.
perl -e 's&&rob@cowsnet.com.au&&&split/[@.]/&&s&.com.&_&&&print'
In reply to Re: Re: Date formats
by rob_au
in thread Date formats
by cybermack72
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |