Help with comparing dates

I’m using the time module for various functions and am not able to figure out how to compare 2 dates. Specifically, I want to compare 2 dates and determine how many days apart they are. If the dates are 30 days apart or less, I want to act on it. Can someone help guide me to a solution for this? Thanks in advance for any help.

1 Like