I WAS TRYING TO EXECUTE THE CODE GIVEN IN A STUDY MATERIALS
the code:
#define _CRT_SECURE_NO_WARNING
#include<stdio.h>
#include<time.h>
using namespace std;
int main(int,char*[])
{
time_t now;
struct tm* mytm;
time(&now);
mytm = localtime(&now);
printf("local timme is", asctime(mytm));
return 0;
}