I am using Python to try to get the integer number of dates between two yyyy-mm-dd string dates. How can I get the number of dates between the two strings?
date1 = 2021-09-21 date2 = 2021-10-18
Trying to get the number of days between these two values as an integer.