La Data e l'ora in C - Alessandro Barazzuol

La Data e l’ora in C

#include<iostream>
#include<ctime>
#include<string>
#include<cstdlib>
#include<cmath>
#include <time.h>
using namespace std;

int main()
{
 time_t t;

   time (&t);

cout<<"La data e l'ora : "<<ctime(&t);

}