#include < stdio.h > #include < time.h > int main() ... { time_t now; time(&now); printf("%s ",asctime(localtime(&now))); return 0;}