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

int main(int argc, char *argv[])
{
  time_t t;

  if(-1 != (t = time(NULL)))
  {
    printf("Number of seconds since the Unix epoch: %ld\n", (long)t);
  }

  return(0);
}