Not-at-all succesfull debuging of the date fn.