Removes deprecated Date functions. bjmcmorran