Update date.cpp