Build date string only if from adn to date are set