Re: [Cppcms-users] How to store/manipulate dates?
Brought to you by:
artyom-beilis
From: <ele...@ex...> - 2012-02-06 09:10:35
|
> If you want to store only date you have two options: > > Use string and format it as "YYYY-MM-DD" or > use std::tm with relevant fields set if the SQL engine > knows to convert one type to another. Thanks a lot. It makes much more sense to me now. What if I want a date iterator for example? Should I just use boost::date_time?(since Im 99% certain i'll only be using gregorian calendar anyway) Or does booster offer something similar? Petr |