#include "pch.h"
#include <iostream>
#include <cmath>
#include <cstring>
#include <string>
#include <ctime>
using namespace std;
int main()
{
time_t curtime = time(NULL);
char buf[26];
ctime_s(buf, sizeof(buf), &curtime);
cout << buf << endl;
}
#include "pch.h"
#include <iostream>
#include <cmath>
#include <cstring>
#include <string>
#include <ctime>
using namespace std;
int main()
{
time_t curtime = time(NULL);
char buf[26];
ctime_s(buf, sizeof(buf), &curtime);
cout << buf << endl;
}