11 lines
169 B
C
11 lines
169 B
C
|
#include <stdio.h>
|
||
|
#include <time.h>
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
time_t time_of_day;
|
||
|
|
||
|
time_of_day = time( NULL );
|
||
|
printf( "It is now: %s", ctime( &time_of_day ) );
|
||
|
}
|