diff --git a/du3/program.c b/du3/program.c index 1f2d6f1..3d62d1b 100644 --- a/du3/program.c +++ b/du3/program.c @@ -16,9 +16,8 @@ int main() t.tm_mday += 7; - strftime(dateStr, sizeof(dateStr), "%d.%m.%Y", &t); + printf("%d.%d.%d", t.tm_mday, t.tm_mon + 1, t.tm_year + 1900); - printf("\n%s", dateStr); exit(EXIT_SUCCESS); return 0;