Need a unique gift idea?
A Pastebin account makes a great Christmas gift


a guest Mar 13th, 2018 56 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
  1.     std::string stime() {
  2.         std::chrono::system_clock::time_point now = std::chrono::system_clock::now();
  3.         auto now_c = std::chrono::system_clock::to_time_t(now);
  4.         auto s = std::put_time(std::localtime(&now_c), "%F %T");
  5.         std::stringstream ss;
  6.         ss << s;
  7.         return ss.str();
  8.     }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand