Query by Datetime
Content
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!
1