Tectura interview question

query to increment date