In my Users table i have a date field called fechaNacimiento. One user has value 21-02-1986 (in format dd-MM-yyyy) and i would like to know how to send date in REST API when searching in Users table for this field. I have checked in another question, http://support.backendless.com/responses/querying-datetime-fields, that the right format is YYYYMMDDHHMMSS, but i am not able to make it work.
If I send fechaNacimiento >= 19860221000000, i don´t get any result. If i send fechaNacimiento >= 19860220000000, i get the user in response with “fechaNacimiento”:“02/20/1986 23:00:00 GMT+0000”. I am in Spain, GMT +0100, so I don´t know if i have to include somehow the timezone or i have to send date in GMT +0000. What is the right way to query date fields in REST API?
Well, you are right. The problem seems to be when modifying the value of the query after it has been made.
If i make a query, then alter the parameter (from created > 1436374835000 to created > 1433374835000) and immediately press enter then it does not return the right objects, but apparently random ones. If i instead delete the query, press enter, and then introduce the query again it works alright.
Only works for parent tables, if you try and run the search search query for a relationship using the dot notation it doesnt not work. Only using yyyymmddhhmmss works.
We were not able to reproduce the problem locally in our test apps. Would it be possible for you to run an export on your app (Manage > Export > All Data Tables) and email me the generated zip file? My email is mark@backendless.com.