date validation working in transactions