Hello,
using the django.utils.timezone.now() function, how can I find the difference from another date in years?
For example, if I have two dates like:
date1 = (1991, 12, 23)
date2 = (1995, 12, 6)

How do I use the current time to get 23 from the first and 19 from the second?
thank you,

--
Brandon Keith Biggs <http://www.brandonkeithbiggs.com/>

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/55A20F97.8070106%40gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to