Re: [Cppcms-users] date time
Brought to you by:
artyom-beilis
From: mawan s. <ma...@gm...> - 2015-10-06 11:18:05
|
thankyou Joerg I am read about this link http://comments.gmane.org/gmane.comp.lib.cppcms.user/1099 it is about discussion about formatting and store date data to the data base. I will try your suggestion and read more about booster and filters in cppcms. Thanks On Tue, Oct 6, 2015 at 6:09 PM, Joerg Sonnenberger <jo...@br...> wrote: > On Tue, Oct 06, 2015 at 04:36:56PM +0700, mawan sugiyanto wrote: > > I want to ask you about how the best way to get current time in timestamp > > format? > > time() ? > > > Second , how to convert timestamp to date readable format? > > localtime_r / gmtime_r and strftime. > > > can i use time stamp integer value? how to covert std::tm to intenger > > timestamp? > > mktime. > > Joerg > > > ------------------------------------------------------------------------------ > _______________________________________________ > Cppcms-users mailing list > Cpp...@li... > https://lists.sourceforge.net/lists/listinfo/cppcms-users > |