Optimized date managing