From: Warren Young Date: June 1 2009 2:30pm Subject: Re: ssqls and now() List-Archive: http://lists.mysql.com/plusplus/8586 Message-Id: <4A23E620.20403@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mike Naylor wrote: >> >> I just tried it, so I know it works. > > Sorry, but > > row .event_date = mysqlpp::sql_timestamp(); > > doesn't work for me. I changed the MySQL++ SSQLS examples to use a DATETIME instead of DATE for stock.sdate and it worked as expected. You can either try that there and convince yourself that it can work, then find out where the problem is in your code, or you can distill your code down to something small enough that me or someone else on the list will be willing to build and test it, and thereby convince us that it can't work.