c++ - Retrieve current century with boost -


i able retrieve current year calling:

boost::posix_time::second_clock::local_time().date().year();  

but how can extract number of centuries year boost function?

what's wrong dividing 100?


Comments

Popular posts from this blog

c++ - OpenCV Error: Assertion failed <scn == 3 ::scn == 4> in unknown function, -

php - render data via PDO::FETCH_FUNC vs loop -

The canvas has been tainted by cross-origin data in chrome only -