This modification fixes the problem:
(Assuming you are using UnixDate from Date::Manip)my $trade_dt=UnixDate($x=~/([\/\d]+)/,qq|%Y-%m-%d|);
"XML is like violence: if it doesn't solve your problem, use more."
In reply to Re^2: inserting date into mysql
by NetWallah
in thread inserting date into mysql
by baperl
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |