Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Query dates in Realm Studio

Tags:

realm

How can I write query (with date) inside Realm Studio? Query like "scheduleAt != null" works well but something like "scheduleAt > '2018-02-15T09:01:58.146Z'" not. If I represent date in millis it doesn't work to

like image 663
Fb89 Avatar asked May 20 '26 04:05

Fb89


1 Answers

I've tried with Realm Studio 1.10.0 and it didn't work with that version yet, but downloading the current latest 1.18.4 seems to feature the new Core Query Parser, based on which I have successfully queried it like so:

birthday == 2017-1-11@11:0:0
birthday == 2017-01-11@11:00:00

birthday > 2017-01-11@10:00:00 AND birthday < 2017-12-31@10:00:00
like image 160
EpicPandaForce Avatar answered May 22 '26 20:05

EpicPandaForce



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!