//Declaration: time_t time(time_t *time);
#include
#include
int main(void)
{
struct tm *ptr;
time_t lt;
lt = time(NULL);
ptr = localtime(<);
printf(asctime(ptr));
return 0;
}
/*
Sat Mar 3 16:12:48 2007
*/