Update calculateDate.c