Create logViewByDate.c