praveen|reversing the date check