Boost.
Input: strings with date and optional time. Different representations would be nice but necessary. The strings are user-supplied and can …
c++ datetime boost utc boost-date-timeBefore reading the question: This question is not about how useful it is to use dynamic_cast. Its just about …
c++ performance dynamic-cast boost-date-timeI'm trying to get the current time as a "YYYY-MM-DD-HH-MM-SS" formatted string in an elegant way. I can take the …
c++ boost string-formatting boost-date-timeIs there some "standard" way or the best I can do is to compute it directly by subtracting from gregorian::…
c++ boost boost-date-timeIf I do date +%H-%M-%S on the commandline (Debian/Lenny), I get a user-friendly (not UTC, not DST-less, …
c++ boost timezone debian boost-date-timeI need to convert double with number of seconds since the epoch to ptime. I'm prety sure there must be …
c++ boost unix-timestamp boost-date-timeIn most of the examples I had seen: time_zone_ptr zone( new posix_time_zone("MST-07") ); But I just …
c++ boost timezone boost-date-timeconst boost::posix_time::ptime now= boost::posix_time::second_clock::local_time(); year_ = now.date().year(); month_ = now.date().…
c++ boost boost-date-timeThe problems is: I know how to get the local time in boost the code: boost::local_time::local_date_…
c++ boost timezone boost-date-timeHow do I get the current UTC offset (as in time zone, but just the UTC offset of the current …
c++ boost-date-time