Hi,
In order to query on DateTime objects, the following methods are supported
(from http://code.google.com/appengine/docs/datastore/gqlreference.html):
A datetime, date, or time literal, with either numeric values or a string
representation, in the following forms:
* DATETIME(year, month, day, hour, minute, second)
* DATETIME('YYYY-MM-DD HH:MM:SS') [no milliseconds]
* DATE(year, month, day)
* DATE('YYYY-MM-DD')
* TIME(hour, minute, second)
* TIME('HH:MM:SS')
-Marzia
On Wed, Nov 19, 2008 at 7:03 PM, niklasr <[EMAIL PROTECTED]> wrote:
>
> SELECT * FROM thing WHERE added = '2008-06-08 22:17:45.200477 '
> won't match
> Neither
> SELECT * FROM thing WHERE added < '2008-07-08 22:17:45.200477 ' and
> added > '2008-06-08 22:17:45.200477 '
> And
> SELECT * FROM Ad WHERE added < '2006-11-18 22:17:45.200477 '
> surprisingly matches many entities.
>
> How match a day or a month interval, or an exact timepoint?
>
>
>
>
> >
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---