I agree with Corion though, that the date format ought to be YYYY-mm-dd if at all possible. I guess it depends on what you're using the date for...my $x = 1; my $y = 2; my $str1 = sprintf "%02d %02d\n", $x, $y; print "$str1\n"; my $str2 = "$x $y"; print "$str2\n";
In reply to Re^18: Sybase BCP date formatter
by runrig
in thread Sybase BCP date formatter
by runrig
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |