Read perlre and perlop about s/// and the /e switch. This will give you the information you need to find out where the variables $1 to $9 get loaded. Also, you might be interested in the strftime function of the POSIX module, which has convenient functions to create date/time strings. Even moreso, I recommend staying with the given format YYYY-mm-dd HH:MM:SS instead of using something else.
In reply to Re^15: Sybase BCP date formatter
by Corion
in thread Sybase BCP date formatter
by runrig
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |