Hi All,

  I have a Model with the posted on date set as a particular datetime.
The property is a DateTime Property in the datastore. The problem is
that when I try to do a filter query on the model like,

Posts.all().filter('posted_on >=', dt1).filter('posted_on <', dt2)

where,
dt1 = datetime.datetime.today()
dt1 = dt1.replace(hour=0, minute=0, second=0, microsecond=0,
tzinfo=None)

and dt2 is incremented to one day ahead of the current date.

My problem is that this query returns an empty list. I know there are
values in the datastore....

Am I doing something wrong here?

Thanks,
Arun Shanker Prasad.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to