I'm pretty sure that fields defined as DateTimeField in your model are
converted to python datetime objects when read from the database.

That means you can use all the datetime methods on it, like
datetime.timedelta for example.

Check out
http://groups.google.com/group/django-users/browse_frm/thread/8d10d2ca33e18e00/9c747b0894d22fda?q=timedelta&rnum=1#9c747b0894d22fda
for more details.


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to