I have a class value for a date in a function, and i need to bring those values into main. I can't figure it out, props to anyone who helps. If that didn't make sense here are pictures.
![Click for larger image](https://thumbs.newschoolers.com/index.php?src=http%3A%2F%2Fi.imgur.com%2Fs3UZc.jpg&size=400x1000)
I need the stuff in the blue circle to be the same values in the red circle in main
![Click for larger image](https://thumbs.newschoolers.com/index.php?src=http%3A%2F%2Fi.imgur.com%2FL8ZbK.jpg&size=400x1000)
thanks