■ソースコード
#include <stdio.h>
#include <time.h>
int main(void){
int t = time(NULL);
// 1970年1月1日からの経過秒
printf("%d\n", t);
return 0;
}
■実行結果
>hellotime.exe
1276099250