I followed the tutorial here: https://www.youtube.com/watch?v=r7bSY...
And have the chat system set up as above. How do I make the listMessageService display only the last week's messages?
I added 'where' for a request parameter. After reading the documentation on Querying, I am still confused. I simply want to display CURRENTDATE THROUGH LAST 7 DAYS.
Maybe do JS on the where clause?
var d = new Date();
d.setDate(d.getDate());
var dateStr = d.toISOString();
..then what?
Thanks in advance