How about an example of an Entity Condition query to find rows based on a
timestamp field Since midnight today, using Groovy?
--
James McGill
Phoenix AZ
Here you go:
conditionList = [];
dayStart = UtilDateTime.getDayStart(UtilDateTime.nowTimestamp(),
timeZone, locale);
conditionList.add(EntityCondition.makeCondition(orderDate,
EntityOperator.GREATER_THAN, dayStart));
// Some other conditions go here
entityCondition =
Extremely helpful Scott, thank you so much.
On Tue, Nov 3, 2009 at 8:49 PM, Scott Gray scott.g...@hotwaxmedia.comwrote:
Here you go:
conditionList = [];
dayStart = UtilDateTime.getDayStart(UtilDateTime.nowTimestamp(), timeZone,
locale);