logoISU  

CS 456 - Systems Programming

Spring 2024

Displaying ./code/may2/time.c

#include <stdio.h>
#include <time.h>

int main(void){

	time_t unixTime;

	unixTime = time(NULL);

	printf("Seconds since Jan 01 1970: %ld\n", unixTime);	

	return 0;

}