Rewrite the abomination that was DateDiff().