Improve setCurrentDate performances