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

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

c# - Why won't my code write to SQL? -

c# - Avoiding duplicate methods for Task and Task<T> -