aboutsummaryrefslogtreecommitdiffstats
path: root/date.h
diff options
context:
space:
mode:
Diffstat (limited to 'date.h')
-rw-r--r--date.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/date.h b/date.h
index c160395..271f3cc 100644
--- a/date.h
+++ b/date.h
@@ -3,11 +3,13 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
+#include <time.h>
typedef struct Date {
int day;
int month;
int year;
+ int weekday;
} Date;
Date extract_date(char *str);