Update date2.cpp

i wanted t see if i can change the code... line 6
Merge pull request #5 from RomeroLuis/master

Update date2.cpp