1. Create a new date object from the old date object and add 30 minutes to it 2. Construct the query using this object
-- Ikai Lan Developer Programs Engineer, Google App Engine Blogger: http://googleappengine.blogspot.com Reddit: http://www.reddit.com/r/appengine Twitter: http://twitter.com/app_engine On Wed, Dec 29, 2010 at 1:57 PM, pieceovcake <[email protected]> wrote: > how can i do this, add 30 minutes to the stored date field then do > a comparison. > > query.setFilter("lastDate >= anotherDateTimeParam"); > > Looking to do something like this > query.setFilter("lastDate + 30minutes >= anotherDateTimeParam" ); > > > > -- > 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.
