I get only one error when compiling your program:

151118.c: In function ‘dateUpdate’:
151118.c:24:14: error: ‘struct date’ has no member named ‘date’
The problem looks pretty obvious to me. (If...