What's new in Customer Journeys?

Connect and learn more! ×
Query by Datetime — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Query by Datetime

Received Response
edited Jun 7, 2022 1:22PM in General Technical Discussions 1 comment


Hi all,

I'm attempting to query a table by UpdatedTime field, but I'm not getting any results returned. My only guess is that the datetime format is stored differently in the database then I'm assuming. My ROQL query is within a PHP function and I'm passing in a datetime object. It looks something like this:
"select tablename from tablename where UpdatedTime = " . $date

What is the correct way to query by datetime in ROQL? Any insights would be appreciated!

Howdy, Stranger!

Log In

To view full details, sign in.


Don't have an account? Click here to get started!