#include <stdio.h>
#include <time.h>
int main ()
{ time_t rawtime;
struct tm * timeinfo;
char timE [80];
time ( &rawtime );
timeinfo = localtime ( &rawtime );
strftime ( timE,80,"Data:\n%Y-%m-%d \nTime:\n%I:%M:%S\n",timeinfo);
printf ("%s", timE);
return 0;
}