updated date.c