register EDATE function correctly