This is to save a filename as the current date. One of the lines of codes are as follows. I can't understand what the local->tm_mday means
The code is:
time_t my_time = time(NULL);
struct tm *local = localtime(&my_time);
day = local->tm_mday;
month = local->tm_mon + 1;
year = local->tm_year + 1900;