i wan't query in point layer according to Field "date" ,the Field type id datetimefor example , one Graphic ,[ date:2011- 10-11 20:21:00]
.....
var query:Query = new Query();
query.outSpatialReference = myMap.spatialReference;
query.outFields = [ "date", "name"];
query.returnGeometry = true;
query.where = "name = 'Alaska' AND date like '*2011-10-11*'";//*******this is wrong,how to wite
queryTask.execute(query, new AsyncResponder(onResult, onFault));
....
how to find the graphic, which the name is"Alaska" and the date is 2011-10-11?besides,how find the lastest time graphic? query.where ="max (date)"? this is wronghow to write the query.where?