Advertisement
Guest User

algorithm

a guest
Aug 11th, 2016
566
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.15 KB | None | 0 0
  1. std::tm time_in = {0, 0, 0, i + 1, month, year - 1900};
  2. std::time_t time_temp = std::mktime(&time_in);
  3. std::tm const *time_out = std::localtime(&time_temp);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement