Added max to date