ENdeletepattern function

Delete a new time pattern