Django - count date between

Posted by DJPy on Stack Overflow See other posts from Stack Overflow or by DJPy
Published on 2010-05-31T11:22:44Z Indexed on 2010/06/01 15:53 UTC
Read the original article Hit count: 165

Filed under:
|

I have many record in my database wich contains datetime field (e.g. 2010-05-23 17:45:57).
I want to count all records between e.g. 15:00 and 15:59 (it all can by from other day, month or year). How can I do this?

© Stack Overflow or respective owner

Related posts about python

Related posts about django