123456789
#include <stdio.h> #include <stdlib.h> #include <time.h> int main(void) { struct tm timer; printf("%d\n", timer.tm_yday); return EXIT_SUCCESS; }