Improve postdate function.