On gemfire, I am having one region ABC and within this region there is a column/field of type long.
In this field I am setting the value as System.nanoTime()
.
I want to fetch all the record from this region which is of 24 hour older.
How can I do this?
Currently I am trying to make a query as below but its not working.
select regionTimestamp from /ABCRegion where (((((regionTimestamp-currentTimeStamp)/ 1000000000))/3600)>24)
Any help suggestion must be appreciated.