How do I print the current date in the below format?
year/month/date
I have been using the below, but it is adding an extra space. I need it to look like this '2020/9/14' and not like '2020 / 9 / 14. Any ideas? Below is current code for the latter option.
str(todays_date.year)
str(todays_date.month)
str(todays_date.day)
dash = "/"
str(dash)
print(todays_date.year,dash,todays_date.month,dash,todays_date.day)