Filtering Data by Time Created
Options
NWold
Member ✭
I am trying to send data to my frontend based on the time that it was created. The use case for this is a user's post would be displayed based on how recent it was posted. Think of how any forum or social media account displays posts based on how recent it was created.
I know there is a way to do this, but I am unsure how to go about it.
Tagged:
Answers
-
you can get this result in many ways, but most simple and straightforward might be to use sorting in output setup of your database request step like so:
and then choose what you need to sort on and direction:
-
That worked perfectly, thank you.
Categories
- All Categories
- 53 ? Announcements
- 47 ? Releases
- 37 ? Welcome
- 983 ? Help! I'm a Noob
- 125 ? No-Code Front-Ends
- 633 ? Working with APIs
- 439 ? Transforming data
- 126 ? Connect Xano to ...
- 50 ?? Find an Expert
- 348 ❓Other questions
- 35 ? Security
- 22 ✂️ Snippets
- 19 ? Showcase
- 7 ?️ Xano Chatter
- 62 ? Video Tutorials
- 171 ? Request a feature
- 229 ? Report a Bug
- 19 ? Templates & Extensions
- 7 ? Feedback