use Date::Format;Its perldoc is concise and tells all. Or, if the column is a timestamp field, just write NULL to it
Update: Re: OP reply; Check your database server or DBI driver docs to see what format SQL wants to see. "%c" gives ctime format, which the server may not use. Also, your driver may want $dbi->quote() applied to the data. Placeholder syntax would let you skip quoting and gain efficiency if you do several updates in a run.
After Compline,
Zaxo
In reply to Re: Dates and SQL
by Zaxo
in thread Dates and SQL
by JungleBoy
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |