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

int
main()
{
    struct tm tm;
    time_t t;

    memset(&tm, 0, sizeof(struct tm));
    tm.tm_year = 126;               //  year = 2026
    tm.tm_mon = 1;                  // month = Feb
    tm.tm_mday = 0;                 //   day = 0

    if ((t = mktime(&tm)) == -1)
        errx(EXIT_FAILURE, "mktime");

    printf("%s", asctime(&tm));     // Sat Jan 31 00:00:00 2026
    exit(EXIT_SUCCESS);
}
