in reply to Re^14: Sybase BCP date formatter
in thread Sybase BCP date formatter
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.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^16: Sybase BCP date formatter
by LangeNet (Initiate) on Dec 17, 2008 at 15:56 UTC | |
by LangeNet (Initiate) on Dec 17, 2008 at 20:27 UTC | |
by runrig (Abbot) on Dec 17, 2008 at 23:25 UTC | |
by LangeNet (Initiate) on Dec 18, 2008 at 14:15 UTC |