Integrate datetime validation and clash to edit