... can get the format you described using the following format string: std::cout << std::put_time(std::localtime(&now_c), "%Y/%m/%d %T").
確定! 回上一頁