#include <stdio.h>
#include <stdlib.h>
#include <err.h>
#include <time.h>
#include <string.h>

int
main(int argc, char *argv[])
{
    struct tm gtm;
    time_t gtime;

    memset(&gtm, 0, sizeof(struct tm));

    gtm.tm_sec = 0;
    gtm.tm_min = 0;
    gtm.tm_hour = 0;

    gtm.tm_mday = 1;
    gtm.tm_mon = 0;
    gtm.tm_year = 70;

    printf("%ld\n", gtime = mktime(&gtm));

    printf("%s", ctime(&gtime));

    exit(EXIT_SUCCESS);
}
