>
> Done. Please update from the source repository.
>
Thank you.
> Try to set the day component (tm_mday) to 1 instead of 0 - there was no
> January 0th that year. :-)
>
> The problem is that the full std::tm value is transmitted to the
> database before it has a chance to ignore the data part. It has to be
> correct for the type cast to succeed.
You're right, it works when I set m_day to 1. I was using the to_tm function
from Boost.DateTime which set the date to 0 but that won't be a problem.
Anyway, thanks a lot for all your help,SOCI is a great library.
--
François Hervieux
[email protected]
------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Soci-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/soci-users