added code to insert date when user selects a game