All pastes #184781 Raw Edit

Something

public text v1 · immutable
#184781 ·published 2006-09-28 08:58 UTC
rendered paste body
Perl and MySQL....
In MySQL database I have a column with "DateTime" datatype
and in perl I am getting time with localtime() function...

but I am unable to insert locatime format in Datetime datatype ..
I have tried other MySql Datatypes for data/time but unable to
insert data except when datatype is varchar ....