saving local state `date`