Re: [Cppcms-users] sqlite3 CURRENT_TIMESTAMP compare to date_time
Brought to you by:
artyom-beilis
From: Artyom B. <art...@ya...> - 2012-05-18 05:04:24
|
it is not ptime, booster::ptime::universal_time converts ptime to std::tm and vise versa. The overload is for std::tm Artyom Beilis -------------- CppCMS - C++ Web Framework: http://cppcms.com/ CppDB - C++ SQL Connectivity: http://cppcms.com/sql/cppdb/ >________________________________ > From: "ele...@ex..." <ele...@ex...> >To: Artyom Beilis <art...@ya...>; cpp...@li... >Sent: Friday, May 18, 2012 1:45 AM >Subject: Re: [Cppcms-users] sqlite3 CURRENT_TIMESTAMP compare to date_time > >Thanks Artyom, > > >> sql << "select ... ?" << >> booster::ptime::universal_time(booster::ptime::now()) << ... > >I didnt notice there was an overloaded operator<< for ptime. Can we add >something similar for date_time? > >Petr > > >------------------------------------------------------------------------------ >Live Security Virtual Conference >Exclusive live event will cover all the ways today's security and >threat landscape has changed and how IT managers can respond. Discussions >will include endpoint security, mobile security and the latest in malware >threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ >_______________________________________________ >Cppcms-users mailing list >Cpp...@li... >https://lists.sourceforge.net/lists/listinfo/cppcms-users > > > |