Hi. I can run it, but it returns a count of 0 when it should return 2.
Regards, Kjartan S. On Aug 30, 8:19 pm, Davide Rognoni <[EMAIL PROTECTED]> wrote: > Can you make this test, using: > > query = Game.all() > query.filter('time >=', datetime.datetime.strptime("2008-08-29", "%Y- > %m-%d")) > > print query.count() > > On Aug 30, 9:58 am, Kjartan <[EMAIL PROTECTED]> wrote: > > > Hi gang. > > > I'm having some problems selecting data from the datastore andfilter > > it bydate. According to what I've read in thr groups I'm not the > > only one experiencing this. > > > This is the query I have: > > > game_query = Game.gql('where game_date = :1', > > datetime.datetime(2008,8,29,0,0,0)).get() > > > It returns an empty query although the datastore contains a few > > entities with the datetime 2008-08-29 00:00:00. > > > Any ideas would be helpful in this case. > > > Regards, > > Kjartan S. --~--~---------~--~----~------------~-------~--~----~ 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 [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en -~----------~----~----~----~------~----~------~--~---