improved date entry--#11

changes are made to improve the date entry