C language gets the time

https://w‮.ww‬lautturi.com
C language gets the time
/*
Example: get epoch time in C language
*/

#include <stdio.h>
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <stdbool.h>
#include <errno.h>
#include <unistd.h>

int main () {
   time_t seconds;

   seconds = time(NULL);
   printf("Seconds since January 1, 1970 = %ld\n", seconds);

   return(0);
}
Created Time:2017-08-28 15:57:40  Author:lautturi