Set whereClause greater than or equal of current date

Hi,
As said in title, how can I load object that are >= current date?
Date is normally displayed, queryOptions.addSortByOption through date is also working fine.
Here’s relevant code:

Calendar calendar = Calendar.getInstance();
SimpleDateFormat simpleDateFormat = new SimpleDateFormat("MM.dd.yyyy");
String today = simpleDateFormat.format(calendar.getTime());



String whereClause = "datum"; 
query.setWhereClause(whereClause);

Should it be:
“datum >=” + today
or similar?

Also, if I hit clear in DATETIME popup in console, it roles back the date to 01.01.

Thanks in advance.

Hi Srdan,

This is described in the docs:
https://backendless.com/documentation/data/android/data_search_with_dates.htm

The where clause should be:

dateTimeColumnName >= dateAsMilliseconds

Regards,
Mark

Thanks Mark!For anyone searching:

long today = System.currentTimeMillis();
String whereClause = "datum >=" + today;

“datum” is dateTimeColumnName.