daily pastebin goal
42%
SHARE
TWEET

Untitled

a guest Mar 13th, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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
 
Top