edit and regDate dates fields