Great Thanks! How can i compare sysdate in DB level. Like in Oracle Select * from action_event a where a.ACTION_CODE='LOGIN' and to_char (a.EVENT_DATE,'dd/mm/yyyy') = to_char(sysdate-1,'dd/mm/yyyy')
The above query will give all LOGIN events recorded yesterday. Is there any way to get sysdate inside query in GAE. Tito On Nov 6, 1:00 am, WMS <[email protected]> wrote: > Or System.currentTimeMillis() - That will return the current time in > milliseconds since 1/1/1970. > > On Nov 5, 8:49 am, Jorge <[email protected]> wrote: > > > > > Create a new object of type Date and it will have the current system > > time (GMT) with millisecond resolution. > > > private currentDateTime = new Date(); > > > Jorge Gonzalez > > > On Nov 5, 3:38 am, Devraj Mukherjee <[email protected]> wrote: > > > >http://code.google.com/appengine/docs/java/datastore/creatinggettinga... > > > > On Wed, Nov 4, 2009 at 7:16 PM, Tito George <[email protected]> wrote: > > > > > How can i query like this JDO "select sysdate from dual" ? > > > > -- > > > "The secret impresses no-one, the trick you use it for is everything" > > > - Alfred Borden (The Prestiege) --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
