delete datetime from function editproduct