Just a couple of comments on this function (i.e., `current()`).
* I think you should `#include <ctime>` and reference `std::mktime()` rather than rely on indirect inclusion.
* I think the function itself should go in an anonymous namespace as it is a detail of the implementation and does not need to be exported in the object file.