What is the output of the following C program?
#include <stdio.h>
#include <time.h>
int main(void) {
time_t t = 0;
char buf[40];
strftime(buf, sizeof buf, "%d %b %Y, %A", gmtime(&t));
puts(buf);
return 0;
}
time_t 0 is the Unix epoch, midnight UTC on Thursday 1 January 1970. gmtime avoids any dependence on the local time zone.