/* Simple C program to display the current "Unix time",
* The number of seconds since the Epoch (Midnight 1/1/1970 UTC).
* Although Gnu date has a "%s" format option for this, it isn't
* standard in POSIX/SUS.
*
* Written 8/2009 by Wayne Pollock, Tampa Florida USA
*/
#include <stdlib.h>
#include <stdio.h>
#include <time.h>
int main ( void ) {
printf( "%i\n", (int) time( NULL ) );
return 0;
}