user2956865
user2956865

Reputation:

How can I find out the number of days in between two dates in python

I have a problem where I need to find the number of days between any two given dates from a list of dates is there anywhere to find out the number of days between the given dates.

the given dates are: 06/06/2012 08/08/2012 10/10/2012 12/12/2012 and the last day of feburary

Upvotes: 0

Views: 64

Answers (1)

Scott Hunter
Scott Hunter

Reputation: 49803

The thing you're looking for is deltatime; in particular, it is what type you get when you subtract 2 date(time)s.

Upvotes: 2

Related Questions