<riya/priyanka> corrected date time validation