save value of chosen date