__DATE__ macro will print current date, date is in the format of mmm dd yyyy, mmm is abbreviated of month
#include <stdio.h>
int main()
{
char *a;
a=__DATE__;
printf("%s",a);
return 0;
}
this code will print current date,run this code into your compiler
Aug 31 2021