>>> import datetime
>>> now = datetime.datetime.now()
>>> then = datetime.datetime(year=2012, month=1, day=1)
>>> delta=now-then
This is a timedelta object representing an interval of time.
>>> print delta
240 days, 11:05:25.507000
To count the minutes during that interval, use:
>>> print delta.total_seconds() / 60
346265.42511666665