int main(int argc, char *argv[]) { char stime[100]; strftime(stime, sizeof stime, "%F", time()); puts(stime); return 0;}