Even if I compare with a Date object the results are incorrect. Also can I use my query as below:
select from table where date != null && date < 'DateObj' && status == 'abc'; On Wed, Sep 8, 2010 at 5:05 PM, Tim Hoffman <[email protected]> wrote: > Oops > > Missed the java bit, > > But the docs are still there. > > http://code.google.com/appengine/docs/java/datastore/dataclasses.html#Core_Value_Types > > T > > On Sep 8, 6:26 pm, Vibhuti Gupta <[email protected]> wrote: > > The link is specific to python these functions will not work in java. I > need > > it for java. > > > > > > > > On Wed, Sep 8, 2010 at 12:37 PM, Tim Hoffman <[email protected]> wrote: > > > > >http://code.google.com/appengine/docs/python/datastore/typesandproper. > .. > > > > > Docs are there. > > > > > On Sep 8, 1:43 pm, Vibhuti Gupta <[email protected]> wrote: > > > > Thanks for the prompt reply. I am new to GAE and not familiar with > > > DateTime > > > > if you could elaborate on this or guide me to a proper documentation > as I > > > do > > > > not see a proper documentation related to Dates. > > > > > > Regards > > > > > > On Wed, Sep 8, 2010 at 2:49 AM, GAEfan <[email protected]> wrote: > > > > > Vibhuti: > > > > > > > I am assuming that "date" is a date or datetime object > > > > > (db.DateTimeProperty()) > > > > > > > You are comparing a datetime object to a string. First, convert > that > > > > > string to a datetime object, then compare it to that. > > > > > datetime.datetime(args) > > > > > > > -- > > > > > You received this message because you are subscribed to the Google > > > Groups > > > > > "Google App Engine" group. > > > > > To post to this group, send email to > [email protected] > > > . > > > > > To unsubscribe from this group, send email to > > > > > [email protected]<google-appengine%[email protected]><google-appengine%2Bunsubscrib > [email protected]><google-appengine%2Bunsubscrib > > > [email protected]> > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/google-appengine?hl=en. > > > > > -- > > > You received this message because you are subscribed to the Google > Groups > > > "Google App Engine" group. > > > To post to this group, send email to [email protected] > . > > > To unsubscribe from this group, send email to > > > [email protected]<google-appengine%[email protected]><google-appengine%2Bunsubscrib > [email protected]> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/google-appengine?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<google-appengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/google-appengine?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To post to this group, send email to [email protected]. 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.
