Application type: mobile Titanium SDK: 3.1.3.GA Platform & version: iOS 7, Device: iOS simulator, Host Operating System: OSX Titanium Studio: Titanium Studio, build: 3.1.3.201309132423
=============================================================================
Cloud.Events.queryOccurrences( { where :{ start_time:"st_time", end_time:"ed_time" }
},function (e) { if (e.success) { alert('Success:\n' + 'Count: ' + e.event_occurrences.length); for (var i = 0; i < e.event_occurrences.length; i++) { var event = e.event_occurrences[i].event; alert('id: ' + event.id + '\n' + 'name: ' + event.name + '\n' + 'start time: ' + event.start_time + '\n' + 'updated_at: ' + place.updated_at); } } else { alert('Error:\n' + ((e.error && e.message) || JSON.stringify(e))); } });
=============================================================================
where clause not working using specific values for start_time and end_time always returns zero records . please give the solution for "where" clause.