I need to know the # of seconds between two dates for my django
application.  I believe this has to be done with straight python.
I've read the py docs on time functions but it doesn't make sense to
me.  Can anyone help? Here's my situation:

timea='11/15/2008 11:35 AM'

timeb=datetime.now()

How can I calculate the diff between timeb and timea in seconds?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to