fixing date entry

fixing date entry