You need to sign in to do that
Don't have an account?
bla
Help With Event Query
Can anyone provide any insight on what is wrong with the following query:
select ActivityDate,WhoId,ActivityDateTime,AccountId,IsAllDayEvent,Description,CreatedDate,Subject,WhatId,Id from event where ActivityDateTime >= 2003-12-06T22:37:07.282Z-08:00 and ActivityDateTime
Whenever I run it I receive a MALFORMED_QUERY error.
Thanks..
select ActivityDate,WhoId,ActivityDateTime,AccountId,IsAllDayEvent,Description,CreatedDate,Subject,WhatId,Id from event where ActivityDateTime >= 2003-12-06T22:37:07.282Z-08:00 and ActivityDateTime
Whenever I run it I receive a MALFORMED_QUERY error.
Thanks..
There is something funky going on with the time zone offset.
This works for me:
select ActivityDate,WhoId,ActivityDateTime,AccountId,IsAllDayEvent,Description,CreatedDate,Subject,WhatId,Id from event where ActivityDateTime >= 2003-12-05T12:37:00Z and ActivityDateTime <= 2003-12-06T12:37:00Z
But adding the time zone offset does not. I'll look into it and let you know, but for now would recommending handling the time zone issues in your code and not the query.