Dunith Dhanushka
select * from steps where loggedAt > now() - cast(60*60*24*1000 as long)
I have records that falls into this bucket. But this query returns nothing.
Where did it go wrong?Mayank
Mayank
Dunith Dhanushka
Dunith Dhanushka
Dunith Dhanushka
select * from steps where loggedAt > ToEpochSeconds(now()- 86400000)Mayank
now() is in millis.